PHP Interface LdapTools\Operation\Handler\OperationHandlerInterface

Author: Chad Sikorra ([email protected])
Show file Open project: ldaptools/ldaptools

Public Methods

Method Description
execute ( LdapTools\Operation\LdapOperationInterface $operation ) : mixed Handle a given LDAP operation and return a response.
setConnection ( LdapTools\Connection\LdapConnectionInterface $connection ) Set the LDAP connection to be used for the operation handler.
setEventDispatcher ( LdapTools\Event\EventDispatcherInterface $dispatcher ) Set the event dispatcher to be used for the operation handler.
setOperationDefaults ( LdapTools\Operation\LdapOperationInterface $operation ) Used to set any operation default values before the operation is started/executed.
supports ( LdapTools\Operation\LdapOperationInterface $operation ) : boolean Given a LDAP operation return whether or not it is supported by the handler.

Method Details

execute() public method

Handle a given LDAP operation and return a response.
public execute ( LdapTools\Operation\LdapOperationInterface $operation ) : mixed
$operation LdapTools\Operation\LdapOperationInterface
return mixed

setConnection() public method

Set the LDAP connection to be used for the operation handler.
public setConnection ( LdapTools\Connection\LdapConnectionInterface $connection )
$connection LdapTools\Connection\LdapConnectionInterface

setEventDispatcher() public method

Set the event dispatcher to be used for the operation handler.
public setEventDispatcher ( LdapTools\Event\EventDispatcherInterface $dispatcher )
$dispatcher LdapTools\Event\EventDispatcherInterface

setOperationDefaults() public method

Used to set any operation default values before the operation is started/executed.
public setOperationDefaults ( LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface

supports() public method

Given a LDAP operation return whether or not it is supported by the handler.
public supports ( LdapTools\Operation\LdapOperationInterface $operation ) : boolean
$operation LdapTools\Operation\LdapOperationInterface
return boolean