PHP Class spec\LdapTools\LdapManagerSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$config LdapTools\Configuration
$domain LdapTools\DomainConfiguration

Public Methods

Method Description
it_is_initializable ( )
it_should_allow_ldap_connections_to_be_passed_to_the_constructor ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Connection\LdapConnectionInterface $connection2 )
it_should_allow_specifying_the_object_type_to_create_when_calling_createLdapObject ( LdapTools\Connection\LdapConnectionInterface $connection )
it_should_attempt_to_authenticate_a_username_and_password ( LdapTools\Connection\LdapConnectionInterface $connection )
it_should_delete_a_ldap_object ( LdapTools\Connection\LdapConnectionInterface $connection )
it_should_error_when_calling_getRepository_for_a_type_that_does_not_exist ( )
it_should_error_when_trying_to_get_a_connection_that_doesnt_exist ( )
it_should_get_a_ldif_object ( )
it_should_honor_the_default_domain_configuration_option ( )
it_should_register_converters_listed_in_the_config ( )
it_should_restore_a_ldap_object ( LdapTools\Connection\LdapConnectionInterface $connection )
it_should_return_a_LdapQueryBuilder_when_calling_buildLdapQuery ( )
it_should_return_a_ldap_connection_when_calling_getConnection ( )
it_should_return_a_ldap_connection_when_calling_getConnection_with_a_specific_domain ( )
it_should_return_a_ldap_object_creator_when_calling_createLdapObject ( )
it_should_return_a_ldap_object_repository_when_calling_getRepository ( )
it_should_return_an_array_when_calling_getDomains ( )
it_should_return_the_cache_class_in_use ( )
it_should_return_the_correct_domains_when_calling_getDomains ( )
it_should_return_the_correct_number_of_domains_when_calling_getDomains ( )
it_should_return_the_event_dispatcher_instance ( )
it_should_return_the_first_added_domain_when_calling_getDomainContext ( )
it_should_return_the_ldap_object_schema_factory_in_use ( )
it_should_return_the_schema_parser_in_use ( )
it_should_set_a_ldap_connection ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Connection\LdapConnectionInterface $connection2 )
it_should_switch_the_domain_context_when_calling_switchDomain ( )
it_should_throw_a_RuntimeException_when_adding_a_config_with_no_domains ( )
let ( )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_allow_ldap_connections_to_be_passed_to_the_constructor() public method

public it_should_allow_ldap_connections_to_be_passed_to_the_constructor ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Connection\LdapConnectionInterface $connection2 )
$connection LdapTools\Connection\LdapConnectionInterface
$connection2 LdapTools\Connection\LdapConnectionInterface

it_should_allow_specifying_the_object_type_to_create_when_calling_createLdapObject() public method

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

it_should_attempt_to_authenticate_a_username_and_password() public method

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

it_should_delete_a_ldap_object() public method

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

it_should_error_when_calling_getRepository_for_a_type_that_does_not_exist() public method

it_should_error_when_trying_to_get_a_connection_that_doesnt_exist() public method

it_should_get_a_ldif_object() public method

it_should_honor_the_default_domain_configuration_option() public method

it_should_register_converters_listed_in_the_config() public method

it_should_restore_a_ldap_object() public method

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

it_should_return_a_LdapQueryBuilder_when_calling_buildLdapQuery() public method

it_should_return_a_ldap_connection_when_calling_getConnection() public method

it_should_return_a_ldap_connection_when_calling_getConnection_with_a_specific_domain() public method

it_should_return_a_ldap_object_creator_when_calling_createLdapObject() public method

it_should_return_a_ldap_object_repository_when_calling_getRepository() public method

it_should_return_an_array_when_calling_getDomains() public method

it_should_return_the_cache_class_in_use() public method

it_should_return_the_correct_domains_when_calling_getDomains() public method

it_should_return_the_correct_number_of_domains_when_calling_getDomains() public method

it_should_return_the_event_dispatcher_instance() public method

it_should_return_the_first_added_domain_when_calling_getDomainContext() public method

it_should_return_the_ldap_object_schema_factory_in_use() public method

it_should_return_the_schema_parser_in_use() public method

it_should_set_a_ldap_connection() public method

public it_should_set_a_ldap_connection ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Connection\LdapConnectionInterface $connection2 )
$connection LdapTools\Connection\LdapConnectionInterface
$connection2 LdapTools\Connection\LdapConnectionInterface

it_should_switch_the_domain_context_when_calling_switchDomain() public method

it_should_throw_a_RuntimeException_when_adding_a_config_with_no_domains() public method

let() public method

public let ( )

Property Details

$config protected_oe property

protected Configuration,LdapTools $config
return LdapTools\Configuration

$domain protected_oe property

protected DomainConfiguration,LdapTools $domain
return LdapTools\DomainConfiguration