PHP 트레잇 LdapTools\Operation\Invoker\LdapOperationInvokerTrait

저자: Chad Sikorra ([email protected])
파일 보기 프로젝트 열기: ldaptools/ldaptools

보호된 프로퍼티들

프로퍼티 타입 설명
$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