Snuze  0.8.1
snuze\SnuzeObject Class Reference
Inheritance diagram for snuze\SnuzeObject:

Public Member Functions

 __construct (array $args=null)
 _getSnuzeId ()
 _getSnuzeClass ()
 _ident ()

Protected Member Functions

 debug (string $message, bool $echo=false)
 info (string $message, bool $echo=false)
 warning (string $message, bool $echo=false)
 error (string $message, bool $echo=false)

Protected Attributes

 $_snuzeId = null
 $_snuzeClass = null

Detailed Description

SnuzeObject is the ancestor class for almost every object in the Snuze package. It sets a unique internal identifier for each instance of each class, to assist with tracing log messages; and it exposes four logging methods (debug(), error(), info(), and warning()) that are common to all descendants.

This file is part of Snuze, a PHP client for the Reddit API. Copyright 2019 Shaun Cummiskey Repository: Documentation:

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

The documentation for this class was generated from the following file: