PHP Class spec\LdapTools\AttributeConverter\ConvertGroupTypeSpec

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

Protected Properties

Property Type Description
$connection LdapTools\Connection\LdapConnectionInterface
$expectedOp callable
$expectedResult array
$expectedSearch LdapTools\Operation\QueryOperation

Public Methods

Method Description
it_is_initializable ( )
it_should_aggregate_values_when_converting_a_bool_to_ldap_on_creation ( $connection )
it_should_aggregate_values_when_converting_a_bool_to_ldap_on_modification ( $connection )
it_should_be_case_insensitive_to_the_current_attribute_name ( $connection )
it_should_convert_a_bool_value_into_the_bitwise_operator_for_the_returned_value ( )
it_should_convert_a_value_from_ldap_to_a_php_bool ( )
it_should_error_on_modifcation_when_the_existing_LDAP_object_cannot_be_queried ( $connection )
it_should_error_when_a_dn_is_not_set_and_a_modification_type_is_requested ( )
it_should_implement_AttributeConverterInterface ( )
it_should_not_aggregate_values_on_a_search ( )
it_should_not_modify_the_value_if_the_bit_is_already_set ( $connection )
let ( LdapTools\Connection\LdapConnectionInterface $connection )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_aggregate_values_when_converting_a_bool_to_ldap_on_creation() public method

it_should_aggregate_values_when_converting_a_bool_to_ldap_on_modification() public method

it_should_be_case_insensitive_to_the_current_attribute_name() public method

it_should_convert_a_bool_value_into_the_bitwise_operator_for_the_returned_value() public method

it_should_convert_a_value_from_ldap_to_a_php_bool() public method

it_should_error_on_modifcation_when_the_existing_LDAP_object_cannot_be_queried() public method

it_should_error_when_a_dn_is_not_set_and_a_modification_type_is_requested() public method

it_should_implement_AttributeConverterInterface() public method

it_should_not_modify_the_value_if_the_bit_is_already_set() public method

let() public method

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

Property Details

$connection protected_oe property

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

$expectedOp protected_oe property

protected callable $expectedOp
return callable

$expectedResult protected_oe property

protected array $expectedResult
return array

$expectedSearch protected_oe property

protected QueryOperation,LdapTools\Operation $expectedSearch
return LdapTools\Operation\QueryOperation