PHP Class spec\LdapTools\Hydrator\OperationHydratorSpec

Inheritance: extends PhpSpec\ObjectBehavior
显示文件 Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$connection LdapTools\Connection\LdapConnectionInterface
$parser LdapTools\Schema\Parser\SchemaYamlParser
$rootDse LdapTools\Object\LdapObject
$schema LdapTools\Schema\LdapObjectSchema

Public Methods

Method Description
it_is_initializable ( )
it_should_add_controls_on_an_operation_going_to_ldap ( $connection )
it_should_attempt_to_resolve_parameters_for_the_base_dn ( $connection, $rootdse )
it_should_correctly_add_attributes_to_select_based_off_aliases_in_the_order_by_selection ( $connection )
it_should_hydrate_a_modify_operation_to_ldap ( $connection )
it_should_hydrate_a_query_operation_to_ldap_with_a_schema ( $connection )
it_should_hydrate_a_query_operation_to_ldap_without_a_schema_or_connection ( )
it_should_hydrate_an_add_operation_to_ldap ( $connection )
it_should_hydrate_the_ldap_filter_for_a_query_operation_based_off_the_current_alias ( $connection )
it_should_not_attempt_to_resolve_parameters_for_a_base_dn_for_the_RootDSE ( QueryOperation $operation, $connection )
it_should_only_support_an_operation_going_to_ldap ( )
it_should_select_get_the_correct_attributes_to_select_based_off_the_alias_in_use ( $connection )
it_should_set_the_scope_based_off_the_schema ( $connection )
it_should_set_whether_paging_is_used_based_off_the_schema ( $connection )
let ( LdapTools\Connection\LdapConnectionInterface $connection, LdapObject $rootdse )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_add_controls_on_an_operation_going_to_ldap() public method

it_should_attempt_to_resolve_parameters_for_the_base_dn() public method

it_should_correctly_add_attributes_to_select_based_off_aliases_in_the_order_by_selection() public method

it_should_hydrate_a_modify_operation_to_ldap() public method

it_should_hydrate_a_query_operation_to_ldap_with_a_schema() public method

it_should_hydrate_a_query_operation_to_ldap_without_a_schema_or_connection() public method

it_should_hydrate_an_add_operation_to_ldap() public method

it_should_hydrate_the_ldap_filter_for_a_query_operation_based_off_the_current_alias() public method

it_should_not_attempt_to_resolve_parameters_for_a_base_dn_for_the_RootDSE() public method

public it_should_not_attempt_to_resolve_parameters_for_a_base_dn_for_the_RootDSE ( QueryOperation $operation, $connection )
$operation LdapTools\Operation\QueryOperation

it_should_only_support_an_operation_going_to_ldap() public method

it_should_select_get_the_correct_attributes_to_select_based_off_the_alias_in_use() public method

it_should_set_the_scope_based_off_the_schema() public method

it_should_set_whether_paging_is_used_based_off_the_schema() public method

let() public method

public let ( LdapTools\Connection\LdapConnectionInterface $connection, LdapObject $rootdse )
$connection LdapTools\Connection\LdapConnectionInterface
$rootdse LdapTools\Object\LdapObject

Property Details

$connection protected_oe property

protected LdapConnectionInterface,LdapTools\Connection $connection
return LdapTools\Connection\LdapConnectionInterface

$parser protected_oe property

protected SchemaYamlParser,LdapTools\Schema\Parser $parser
return LdapTools\Schema\Parser\SchemaYamlParser

$rootDse protected_oe property

protected LdapObject,LdapTools\Object $rootDse
return LdapTools\Object\LdapObject

$schema protected_oe property

protected LdapObjectSchema,LdapTools\Schema $schema
return LdapTools\Schema\LdapObjectSchema