PHP Класс spec\Prophecy\Argument\ArgumentsWildcardSpec

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

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

Метод Описание
it_exposes_list_of_tokens ( Prophecy\Argument\Token\TokenInterface $token )
it_generates_string_representation_from_all_tokens_imploded ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_returns_false_if_there_is_less_arguments_than_tokens ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_returns_false_if_there_is_less_tokens_than_arguments ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_returns_score_of_1_if_there_are_no_tokens_and_arguments ( )
it_should_calculate_score_until_last_token ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_should_return_false_if_one_of_the_tokens_returns_false ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_should_return_match_score_based_on_all_tokens_score ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_wraps_non_token_arguments_into_ExactValueToken ( stdClass $object )

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

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

public it_exposes_list_of_tokens ( Prophecy\Argument\Token\TokenInterface $token )
$token Prophecy\Argument\Token\TokenInterface

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

public it_generates_string_representation_from_all_tokens_imploded ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

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

public it_returns_false_if_there_is_less_arguments_than_tokens ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

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

public it_returns_false_if_there_is_less_tokens_than_arguments ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

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

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

public it_should_calculate_score_until_last_token ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

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

public it_should_return_false_if_one_of_the_tokens_returns_false ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

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

public it_should_return_match_score_based_on_all_tokens_score ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

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

public it_wraps_non_token_arguments_into_ExactValueToken ( stdClass $object )
$object stdClass