PHP Трейт LdapTools\Operation\Invoker\LdapOperationInvokerTrait

Автор: Chad Sikorra ([email protected])
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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 ( LogOperation $log = null ) End a logging operation.
logExceptionAndThrow ( Throwable | Exception $exception, LogOperation $log = null ) Handles exception error message logging if logging is enabled then re-throws the exception.
logStart ( LogOperation $log = null ) Start a logging operation.
shouldLog ( LogOperation $log = null ) : boolean Determine whether logging should be used.

Описание методов

addHandler() публичный Метод

public addHandler ( LdapTools\Operation\Handler\OperationHandlerInterface $handler )
$handler LdapTools\Operation\Handler\OperationHandlerInterface

logEnd() защищенный Метод

End a logging operation.
protected logEnd ( LogOperation $log = null )
$log LdapTools\Log\LogOperation

logExceptionAndThrow() защищенный Метод

Handles exception error message logging if logging is enabled then re-throws the exception.
protected logExceptionAndThrow ( Throwable | Exception $exception, LogOperation $log = null )
$exception Throwable | Exception
$log LdapTools\Log\LogOperation

logStart() защищенный Метод

Start a logging operation.
protected logStart ( LogOperation $log = null )
$log LdapTools\Log\LogOperation

setConnection() публичный Метод

public setConnection ( LdapTools\Connection\LdapConnectionInterface $connection )
$connection LdapTools\Connection\LdapConnectionInterface

setEventDispatcher() публичный Метод

public setEventDispatcher ( LdapTools\Event\EventDispatcherInterface $dispatcher )
$dispatcher LdapTools\Event\EventDispatcherInterface

setLogger() публичный Метод

public setLogger ( LdapTools\Log\LdapLoggerInterface $logger = null )
$logger LdapTools\Log\LdapLoggerInterface

shouldLog() защищенный Метод

Determine whether logging should be used.
protected shouldLog ( LogOperation $log = null ) : boolean
$log LdapTools\Log\LogOperation
Результат boolean

Описание свойств

$connection защищенное свойство

protected LdapConnectionInterface,LdapTools\Connection $connection
Результат LdapTools\Connection\LdapConnectionInterface

$dispatcher защищенное свойство

protected EventDispatcherInterface,LdapTools\Event $dispatcher
Результат LdapTools\Event\EventDispatcherInterface

$handler защищенное свойство

protected OperationHandlerInterface[],LdapTools\Operation\Handler $handler
Результат LdapTools\Operation\Handler\OperationHandlerInterface[]

$logger защищенное свойство

protected LdapLoggerInterface,LdapTools\Log $logger
Результат LdapTools\Log\LdapLoggerInterface