PHP Класс spec\LdapTools\Operation\Invoker\LdapOperationInvokerSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_is_initializable ( )
it_should_NOT_switch_the_server_if_the_operation_doesnt_request_it ( OperationHandler $handler, $connection, $dispatcher )
it_should_NOT_switch_the_server_if_the_server_is_already_active ( OperationHandler $handler, $connection, $dispatcher )
it_should_add_a_handler ( )
it_should_connect_if_not_yet_bound_on_execution ( OperationHandler $handler, $dispatcher, $connection )
it_should_execute_all_child_operations ( $connection, $dispatcher, OperationHandler $handler, DeleteOperation $operation, AddOperation $preOperation, AddOperation $postOperation )
it_should_execute_an_operation_with_the_correct_handler ( $dispatcher, $connection, OperationHandler $handler, QueryOperationHandler $queryHandler, DeleteOperation $operation )
it_should_implement_the_operation_invoker_interface ( )
it_should_not_connect_before_or_after_an_authentication_operation_with_a_specific_server_set ( $connection )
it_should_not_connect_if_not_yet_bound_on_an_AuthenticationOperation ( OperationHandler $handler, $connection, $dispatcher )
it_should_not_idle_reconnect_on_an_authentication_operation ( OperationHandler $handler, $connection, $dispatcher )
it_should_not_reconnect_a_connection_that_hasnt_been_idle_too_long ( OperationHandler $handler, $connection, $dispatcher )
it_should_reconnect_a_connection_that_has_been_idle_too_long ( OperationHandler $handler, $connection, $dispatcher )
it_should_set_controls_specified_by_the_operation ( OperationHandler $handler, $connection, $dispatcher )
it_should_skip_batch_operations_that_are_empty ( OperationHandler $handler )
it_should_switch_the_server_if_the_operation_requested_it ( OperationHandler $handler, $connection, $dispatcher )
it_should_trigger_an_event_before_and_after_operation_execution ( $dispatcher )
let ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Event\EventDispatcherInterface $dispatcher, LdapTools\Log\LdapLoggerInterface $logger )

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

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

public it_is_initializable ( )

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

public it_should_NOT_switch_the_server_if_the_operation_doesnt_request_it ( OperationHandler $handler, $connection, $dispatcher )
$handler LdapTools\Operation\Handler\OperationHandler

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

public it_should_NOT_switch_the_server_if_the_server_is_already_active ( OperationHandler $handler, $connection, $dispatcher )
$handler LdapTools\Operation\Handler\OperationHandler

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

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

public it_should_connect_if_not_yet_bound_on_execution ( OperationHandler $handler, $dispatcher, $connection )
$handler LdapTools\Operation\Handler\OperationHandler

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

public it_should_execute_all_child_operations ( $connection, $dispatcher, OperationHandler $handler, DeleteOperation $operation, AddOperation $preOperation, AddOperation $postOperation )
$handler LdapTools\Operation\Handler\OperationHandler
$operation LdapTools\Operation\DeleteOperation
$preOperation LdapTools\Operation\AddOperation
$postOperation LdapTools\Operation\AddOperation

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

public it_should_execute_an_operation_with_the_correct_handler ( $dispatcher, $connection, OperationHandler $handler, QueryOperationHandler $queryHandler, DeleteOperation $operation )
$handler LdapTools\Operation\Handler\OperationHandler
$queryHandler LdapTools\Operation\Handler\QueryOperationHandler
$operation LdapTools\Operation\DeleteOperation

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

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

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

public it_should_not_connect_if_not_yet_bound_on_an_AuthenticationOperation ( OperationHandler $handler, $connection, $dispatcher )
$handler LdapTools\Operation\Handler\OperationHandler

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

public it_should_not_idle_reconnect_on_an_authentication_operation ( OperationHandler $handler, $connection, $dispatcher )
$handler LdapTools\Operation\Handler\OperationHandler

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

public it_should_not_reconnect_a_connection_that_hasnt_been_idle_too_long ( OperationHandler $handler, $connection, $dispatcher )
$handler LdapTools\Operation\Handler\OperationHandler

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

public it_should_reconnect_a_connection_that_has_been_idle_too_long ( OperationHandler $handler, $connection, $dispatcher )
$handler LdapTools\Operation\Handler\OperationHandler

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

public it_should_set_controls_specified_by_the_operation ( OperationHandler $handler, $connection, $dispatcher )
$handler LdapTools\Operation\Handler\OperationHandler

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

public it_should_skip_batch_operations_that_are_empty ( OperationHandler $handler )
$handler LdapTools\Operation\Handler\OperationHandler

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

public it_should_switch_the_server_if_the_operation_requested_it ( OperationHandler $handler, $connection, $dispatcher )
$handler LdapTools\Operation\Handler\OperationHandler

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

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

public let ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Event\EventDispatcherInterface $dispatcher, LdapTools\Log\LdapLoggerInterface $logger )
$connection LdapTools\Connection\LdapConnectionInterface
$dispatcher LdapTools\Event\EventDispatcherInterface
$logger LdapTools\Log\LdapLoggerInterface