public it_accepts_any_key_token_type_to_score_object_that_is_both_traversable_and_array_accessible ( Prophecy\Argument\Token\TokenInterface $key, Prophecy\Argument\Token\TokenInterface $value, ArrayIterator $object ) | ||
$key | Prophecy\Argument\Token\TokenInterface | |
$value | Prophecy\Argument\Token\TokenInterface | |
$object | ArrayIterator |
public it_does_not_score_array_accessible_object_if_it_has_no_offset_with_key_token_value ( Prophecy\Argument\Token\ExactValueToken $key, ArrayAccess $object ) | ||
$key | Prophecy\Argument\Token\ExactValueToken | |
$object | ArrayAccess |
public it_does_not_score_array_accessible_object_if_key_and_value_tokens_do_not_score_same_entry ( Prophecy\Argument\Token\ExactValueToken $key, Prophecy\Argument\Token\TokenInterface $value, ArrayAccess $object ) | ||
$key | Prophecy\Argument\Token\ExactValueToken | |
$value | Prophecy\Argument\Token\TokenInterface | |
$object | ArrayAccess |
public it_does_not_score_array_if_key_and_value_tokens_do_not_score_same_entry ( $key, $value ) |
public it_does_not_score_traversable_object_if_key_and_value_tokens_do_not_score_same_entry ( Prophecy\Argument\Token\TokenInterface $key, Prophecy\Argument\Token\TokenInterface $value, Iterator $object ) | ||
$key | Prophecy\Argument\Token\TokenInterface | |
$value | Prophecy\Argument\Token\TokenInterface | |
$object | Iterator |
public it_does_not_score_traversable_object_without_entries ( Iterator $object ) | ||
$object | Iterator |
public it_scores_array_accessible_object_half_of_combined_scores_from_key_and_value_tokens ( Prophecy\Argument\Token\ExactValueToken $key, Prophecy\Argument\Token\TokenInterface $value, ArrayAccess $object ) | ||
$key | Prophecy\Argument\Token\ExactValueToken | |
$value | Prophecy\Argument\Token\TokenInterface | |
$object | ArrayAccess |
public it_scores_array_half_of_combined_scores_from_key_and_value_tokens ( $key, $value ) |
public it_scores_traversable_object_half_of_combined_scores_from_key_and_value_tokens ( Prophecy\Argument\Token\TokenInterface $key, Prophecy\Argument\Token\TokenInterface $value, Iterator $object ) | ||
$key | Prophecy\Argument\Token\TokenInterface | |
$value | Prophecy\Argument\Token\TokenInterface | |
$object | Iterator |
public it_throws_exception_during_scoring_of_array_accessible_object_if_key_is_not_ExactValueToken ( Prophecy\Argument\Token\TokenInterface $key, Prophecy\Argument\Token\TokenInterface $value, ArrayAccess $object ) | ||
$key | Prophecy\Argument\Token\TokenInterface | |
$value | Prophecy\Argument\Token\TokenInterface | |
$object | ArrayAccess |
public it_wraps_non_token_key_into_ExactValueToken ( stdClass $object, Prophecy\Argument\Token\TokenInterface $value ) | ||
$object | stdClass | |
$value | Prophecy\Argument\Token\TokenInterface |
public it_wraps_non_token_value_into_ExactValueToken ( Prophecy\Argument\Token\TokenInterface $key, stdClass $object ) | ||
$key | Prophecy\Argument\Token\TokenInterface | |
$object | stdClass |
public its_string_representation_tells_that_its_an_array_containing_the_key_value_pair ( $key, $value ) |
public let ( Prophecy\Argument\Token\TokenInterface $key, Prophecy\Argument\Token\TokenInterface $value ) | ||
$key | Prophecy\Argument\Token\TokenInterface | |
$value | Prophecy\Argument\Token\TokenInterface |