PHP Class spec\LdapTools\Object\LdapObjectCreatorSpec

Inheritance: extends PhpSpec\ObjectBehavior
Mostrar archivo Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$addOperation LdapTools\Operation\AddOperation
$attributes
$config LdapTools\DomainConfiguration
$dispatcher
$schemaFactory LdapTools\Factory\LdapObjectSchemaFactory
$schemaFactoryTest LdapTools\Factory\LdapObjectSchemaFactory

Public Methods

Method Description
it_is_initializable ( )
it_should_allow_a_default_container_to_be_overwritten ( $connection )
it_should_allow_a_ldap_server_to_be_set ( $connection )
it_should_call_creation_events_when_creating_a_ldap_object ( LdapTools\Event\EventDispatcherInterface $dispatcher, $connection )
it_should_chain_calls_when_adding_attributes ( )
it_should_chain_calls_when_creating_a_computer ( )
it_should_chain_calls_when_creating_a_contact ( )
it_should_chain_calls_when_creating_a_group ( )
it_should_chain_calls_when_creating_a_user ( )
it_should_chain_calls_when_creating_an_ou ( )
it_should_chain_calls_when_setting_a_parameter ( )
it_should_chain_calls_when_setting_the_container ( )
it_should_chain_calls_when_setting_the_dn ( )
it_should_escape_the_base_dn_name_properly_when_using_a_schema ( $connection )
it_should_filter_out_empty_strings_and_null_values_before_the_operation_is_executed ( $connection )
it_should_get_the_ldap_server_set ( )
it_should_respect_an_explicitly_set_dn ( $connection )
it_should_set_parameters_for_the_attributes_sent_to_ldap ( $connection )
it_should_set_parameters_for_the_container_of_the_ldap_object ( $connection )
it_should_throw_an_exception_when_no_container_is_specified ( )
it_should_throw_an_exception_when_passing_an_invalid_object_to_create ( )
it_should_throw_an_exception_when_passing_an_unknown_ldap_object_type_to_create ( )
it_should_use_a_default_container_defined_in_the_schema ( $connection )
let ( LdapTools\Connection\LdapConnectionInterface $connection )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_allow_a_default_container_to_be_overwritten() public method

it_should_allow_a_ldap_server_to_be_set() public method

it_should_call_creation_events_when_creating_a_ldap_object() public method

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

it_should_chain_calls_when_adding_attributes() public method

it_should_chain_calls_when_creating_a_computer() public method

it_should_chain_calls_when_creating_a_contact() public method

it_should_chain_calls_when_creating_a_group() public method

it_should_chain_calls_when_creating_a_user() public method

it_should_chain_calls_when_creating_an_ou() public method

it_should_chain_calls_when_setting_a_parameter() public method

it_should_chain_calls_when_setting_the_container() public method

it_should_chain_calls_when_setting_the_dn() public method

it_should_escape_the_base_dn_name_properly_when_using_a_schema() public method

it_should_filter_out_empty_strings_and_null_values_before_the_operation_is_executed() public method

it_should_get_the_ldap_server_set() public method

it_should_respect_an_explicitly_set_dn() public method

it_should_set_parameters_for_the_attributes_sent_to_ldap() public method

it_should_set_parameters_for_the_container_of_the_ldap_object() public method

it_should_throw_an_exception_when_no_container_is_specified() public method

it_should_throw_an_exception_when_passing_an_invalid_object_to_create() public method

it_should_throw_an_exception_when_passing_an_unknown_ldap_object_type_to_create() public method

it_should_use_a_default_container_defined_in_the_schema() public method

let() public method

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

Property Details

$addOperation protected_oe property

protected AddOperation,LdapTools\Operation $addOperation
return LdapTools\Operation\AddOperation

$attributes protected_oe property

protected $attributes

$config protected_oe property

protected DomainConfiguration,LdapTools $config
return LdapTools\DomainConfiguration

$dispatcher protected_oe property

protected $dispatcher

$schemaFactory protected_oe property

protected LdapObjectSchemaFactory,LdapTools\Factory $schemaFactory
return LdapTools\Factory\LdapObjectSchemaFactory

$schemaFactoryTest protected_oe property

protected LdapObjectSchemaFactory,LdapTools\Factory $schemaFactoryTest
return LdapTools\Factory\LdapObjectSchemaFactory