Class shardimage\shardimagephp\auth\ClientService

Inheritanceshardimage\shardimagephp\auth\ClientService » shardimage\shardimagephpapi\services\Client » shardimage\shardimagephpapi\services\BaseService » shardimage\shardimagephpapi\base\BaseObject
ImplementsPsr\Log\LoggerAwareInterface

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Creates the object, populates the properties and calls the "init" method. shardimage\shardimagephpapi\base\BaseObject
__get() Returns the value of a non-defined property, it there is a getter method. shardimage\shardimagephpapi\base\BaseObject
__isset() Does the non-defined property with a getter exist and is it not NULL? shardimage\shardimagephpapi\base\BaseObject
__set() Sets the value of a non-defined property, if there is a setter method. shardimage\shardimagephpapi\base\BaseObject
__unset() Sets the value of a non-defined property to NULL, if there is a setter. shardimage\shardimagephpapi\base\BaseObject
buildCustomHeader() Builds a custom header (e.g. X-Some-Header). shardimage\shardimagephpapi\services\BaseService
getResourceHandler() Returns whether the provided value is file. shardimage\shardimagephpapi\services\BaseService
log() Logs an event. shardimage\shardimagephp\auth\ClientService
parseCustomHeader() shardimage\shardimagephpapi\services\BaseService
setLogger() shardimage\shardimagephp\auth\ClientService
toArray() Converts the object an array. shardimage\shardimagephpapi\base\BaseObject

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
ensureClass() Creates an object from the given parameters. shardimage\shardimagephpapi\base\BaseObject
init() Custom initialization. shardimage\shardimagephpapi\base\BaseObject

Property Details

$debug public property

Enable debugging

public boolean $debug false
$logger public property

Logger instance.

public \Psr\Log\LoggerInterface $logger null

Method Details

log() public method

Logs an event.

public void log ( $level, $event )
$level integer

PHP log level

$event string

Event string

setLogger() public method

public void setLogger ( \Psr\Log\LoggerInterface $logger )
$logger