Свойство | Тип | Описание | |
---|---|---|---|
$connection | LdapTools\Connection\LdapConnectionInterface | ||
$dispatcher | LdapTools\Event\EventDispatcherInterface | ||
$handler | LdapTools\Operation\Handler\OperationHandlerInterface[] | ||
$logger | LdapTools\Log\LdapLoggerInterface |
Метод | Описание | |
---|---|---|
addHandler ( LdapTools\Operation\Handler\OperationHandlerInterface $handler ) | ||
setConnection ( LdapTools\Connection\LdapConnectionInterface $connection ) | ||
setEventDispatcher ( LdapTools\Event\EventDispatcherInterface $dispatcher ) | ||
setLogger ( LdapTools\Log\LdapLoggerInterface $logger = null ) |
Метод | Описание | |
---|---|---|
logEnd ( |
End a logging operation. | |
logExceptionAndThrow ( Throwable | Exception $exception, |
Handles exception error message logging if logging is enabled then re-throws the exception. | |
logStart ( |
Start a logging operation. | |
shouldLog ( |
Determine whether logging should be used. |
public addHandler ( LdapTools\Operation\Handler\OperationHandlerInterface $handler ) | ||
$handler | LdapTools\Operation\Handler\OperationHandlerInterface |
protected logEnd ( |
||
$log |
protected logExceptionAndThrow ( Throwable | Exception $exception, |
||
$exception | Throwable | Exception | |
$log |
protected logStart ( |
||
$log |
public setConnection ( LdapTools\Connection\LdapConnectionInterface $connection ) | ||
$connection | LdapTools\Connection\LdapConnectionInterface |
public setEventDispatcher ( LdapTools\Event\EventDispatcherInterface $dispatcher ) | ||
$dispatcher | LdapTools\Event\EventDispatcherInterface |
public setLogger ( LdapTools\Log\LdapLoggerInterface $logger = null ) | ||
$logger | LdapTools\Log\LdapLoggerInterface |
protected LdapConnectionInterface,LdapTools\Connection $connection | ||
Результат | LdapTools\Connection\LdapConnectionInterface |
protected EventDispatcherInterface,LdapTools\Event $dispatcher | ||
Результат | LdapTools\Event\EventDispatcherInterface |
protected OperationHandlerInterface[],LdapTools\Operation\Handler $handler | ||
Результат | LdapTools\Operation\Handler\OperationHandlerInterface[] |