PHP Class spec\LdapTools\Hydrator\ArrayHydratorSpec

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

Protected Properties

Property Type Description
$ldapEntries
$objectToLdap

Public Methods

Method Description
getMatchers ( )
it_is_initializable ( )
it_should_allow_multiple_converter_types_for_one_ldap_attribute ( )
it_should_allow_multiple_schema_names_pointing_to_the_same_ldap_attribute ( )
it_should_be_able_to_be_constructed_with_a_ldap_connection ( LdapTools\Connection\LdapConnectionInterface $connection )
it_should_convert_values_if_a_converter_was_defined_for_an_attribute ( )
it_should_convert_values_when_hydrating_to_ldap ( )
it_should_error_hydrating_to_ldap_if_an_array_is_not_used ( )
it_should_error_when_a_required_attribute_is_missing_going_to_ldap ( )
it_should_hydrate_to_ldap_even_without_a_schema ( )
it_should_implement_the_HydratorInterface ( )
it_should_merge_default_attributes_to_ldap ( )
it_should_not_change_attribute_names_when_the_attribute_was_selected_by_its_original_name ( )
it_should_rename_schema_names_to_ldap_attributeNames_when_hyrdating_to_ldap ( )
it_should_replace_parameter_values_with_their_actual_values ( )
it_should_respect_the_case_the_attribute_was_selected_by_when_hydrating ( )
it_should_return_a_single_array_with_keys_when_calling_hydrateEntryFromLdap ( )
it_should_return_an_array_when_hydrating_to_ldap ( )
it_should_return_the_correct_number_of_entries_when_hydrating_all_entries ( )
it_should_return_the_dn_attribute_even_if_it_wasnt_selected ( )
it_should_set_LdapObjectSchemas_when_calling_setLdapObjectSchema ( )
it_should_set_selected_attributes_when_calling_setSelectedAttributes ( )

Method Details

getMatchers() public method

public getMatchers ( )

it_is_initializable() public method

public it_is_initializable ( )

it_should_allow_multiple_converter_types_for_one_ldap_attribute() public method

it_should_allow_multiple_schema_names_pointing_to_the_same_ldap_attribute() public method

it_should_be_able_to_be_constructed_with_a_ldap_connection() public method

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

it_should_convert_values_if_a_converter_was_defined_for_an_attribute() public method

it_should_convert_values_when_hydrating_to_ldap() public method

it_should_error_hydrating_to_ldap_if_an_array_is_not_used() public method

it_should_error_when_a_required_attribute_is_missing_going_to_ldap() public method

it_should_hydrate_to_ldap_even_without_a_schema() public method

it_should_implement_the_HydratorInterface() public method

it_should_merge_default_attributes_to_ldap() public method

it_should_not_change_attribute_names_when_the_attribute_was_selected_by_its_original_name() public method

it_should_rename_schema_names_to_ldap_attributeNames_when_hyrdating_to_ldap() public method

it_should_replace_parameter_values_with_their_actual_values() public method

it_should_respect_the_case_the_attribute_was_selected_by_when_hydrating() public method

it_should_return_a_single_array_with_keys_when_calling_hydrateEntryFromLdap() public method

it_should_return_an_array_when_hydrating_to_ldap() public method

it_should_return_the_correct_number_of_entries_when_hydrating_all_entries() public method

it_should_return_the_dn_attribute_even_if_it_wasnt_selected() public method

it_should_set_LdapObjectSchemas_when_calling_setLdapObjectSchema() public method

it_should_set_selected_attributes_when_calling_setSelectedAttributes() public method

Property Details

$ldapEntries protected_oe property

protected $ldapEntries

$objectToLdap protected_oe property

protected $objectToLdap