PHP Класс spec\LdapTools\LdapManagerSpec

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

Защищенные свойства (Protected)

Свойство Тип Описание
$config LdapTools\Configuration
$domain LdapTools\DomainConfiguration

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

Метод Описание
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 ( )

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

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

public it_is_initializable ( )

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

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 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 it_should_attempt_to_authenticate_a_username_and_password ( LdapTools\Connection\LdapConnectionInterface $connection )
$connection LdapTools\Connection\LdapConnectionInterface

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

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() публичный Метод

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() публичный Метод

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

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() публичный Метод

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() публичный Метод

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

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

public let ( )

Описание свойств

$config защищенное свойство

protected Configuration,LdapTools $config
Результат LdapTools\Configuration

$domain защищенное свойство

protected DomainConfiguration,LdapTools $domain
Результат LdapTools\DomainConfiguration