PHP Class spec\LdapTools\Object\LdapObjectManagerSpec

Inheritance: extends PhpSpec\ObjectBehavior
Exibir arquivo Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$dispatcher
$dispatcherTest
$ldapEntries
$objectSchemaFactory
$objectSchemaFactoryTest

Public Methods

Method Description
it_is_initializable ( )
it_should_call_the_event_dispatcher_delete_events_when_deleting_an_object ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
it_should_call_the_event_dispatcher_modify_events_when_persisting_an_object ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
it_should_call_the_event_dispatcher_move_events_when_moving_an_object ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
it_should_call_the_event_dispatcher_restore_events_when_restoring_an_object ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
it_should_delete_a_ldap_object_from_its_dn ( $connection )
it_should_delete_a_ldap_object_recursively_if_specified ( $connection )
it_should_error_on_restore_if_the_last_known_location_cannot_be_found_and_none_was_specified ( $connection )
it_should_error_on_update_delete_move_or_restore_if_the_dn_is_not_set ( )
it_should_escape_the_RDN_when_moving_a_ldap_object ( $connection )
it_should_move_a_ldap_object_using_move ( $connection )
it_should_move_an_object_without_a_schema_type ( $connection )
it_should_not_call_the_event_dispatcher_modify_events_when_an_object_has_not_changed ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
it_should_not_query_ldap_for_the_RDN_when_moving_an_object_and_the_name_attribute_was_not_selected ( $connection )
it_should_not_try_to_modify_an_ldap_object_that_has_not_changed ( $connection )
it_should_persist_an_ldap_object_that_has_no_schema_type ( $connection )
it_should_restore_a_ldap_object_using_restore ( $connection )
it_should_update_a_ldap_object_using_batch_modify ( $connection )
let ( LdapTools\Connection\LdapConnectionInterface $connection )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_call_the_event_dispatcher_delete_events_when_deleting_an_object() public method

public it_should_call_the_event_dispatcher_delete_events_when_deleting_an_object ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
$dispatcher LdapTools\Event\EventDispatcherInterface

it_should_call_the_event_dispatcher_modify_events_when_persisting_an_object() public method

public it_should_call_the_event_dispatcher_modify_events_when_persisting_an_object ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
$dispatcher LdapTools\Event\EventDispatcherInterface

it_should_call_the_event_dispatcher_move_events_when_moving_an_object() public method

public it_should_call_the_event_dispatcher_move_events_when_moving_an_object ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
$dispatcher LdapTools\Event\EventDispatcherInterface

it_should_call_the_event_dispatcher_restore_events_when_restoring_an_object() public method

public it_should_call_the_event_dispatcher_restore_events_when_restoring_an_object ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
$dispatcher LdapTools\Event\EventDispatcherInterface

it_should_delete_a_ldap_object_from_its_dn() public method

it_should_delete_a_ldap_object_recursively_if_specified() public method

it_should_error_on_restore_if_the_last_known_location_cannot_be_found_and_none_was_specified() public method

it_should_error_on_update_delete_move_or_restore_if_the_dn_is_not_set() public method

it_should_escape_the_RDN_when_moving_a_ldap_object() public method

it_should_move_a_ldap_object_using_move() public method

it_should_move_an_object_without_a_schema_type() public method

it_should_not_call_the_event_dispatcher_modify_events_when_an_object_has_not_changed() public method

public it_should_not_call_the_event_dispatcher_modify_events_when_an_object_has_not_changed ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
$dispatcher LdapTools\Event\EventDispatcherInterface

it_should_not_query_ldap_for_the_RDN_when_moving_an_object_and_the_name_attribute_was_not_selected() public method

it_should_not_try_to_modify_an_ldap_object_that_has_not_changed() public method

it_should_persist_an_ldap_object_that_has_no_schema_type() public method

it_should_restore_a_ldap_object_using_restore() public method

it_should_update_a_ldap_object_using_batch_modify() public method

let() public method

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

Property Details

$dispatcher protected_oe property

protected $dispatcher

$dispatcherTest protected_oe property

protected $dispatcherTest

$ldapEntries protected_oe property

protected $ldapEntries

$objectSchemaFactory protected_oe property

protected $objectSchemaFactory

$objectSchemaFactoryTest protected_oe property

protected $objectSchemaFactoryTest