PHP Class spec\PhpSpec\Runner\CollaboratorManagerSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: phpspec/phpspec

Public Methods

Method Description
it_creates_function_arguments_for_ReflectionFunction ( ReflectionFunction $function, ReflectionParameter $param1, ReflectionParameter $param2 )
it_creates_null_function_arguments_for_ReflectionFunction_if_no_collaborator_found ( ReflectionFunction $function, ReflectionParameter $param1, ReflectionParameter $param2 )
it_provides_a_method_to_check_if_collaborator_exists ( $collaborator )
it_stores_collaborators_by_name ( $collaborator )
it_throws_CollaboratorException_on_attempt_to_get_unexisting_collaborator ( )
let ( PhpSpec\Formatter\Presenter\Presenter $presenter )

Method Details

it_creates_function_arguments_for_ReflectionFunction() public method

public it_creates_function_arguments_for_ReflectionFunction ( ReflectionFunction $function, ReflectionParameter $param1, ReflectionParameter $param2 )
$function ReflectionFunction
$param1 ReflectionParameter
$param2 ReflectionParameter

it_creates_null_function_arguments_for_ReflectionFunction_if_no_collaborator_found() public method

public it_creates_null_function_arguments_for_ReflectionFunction_if_no_collaborator_found ( ReflectionFunction $function, ReflectionParameter $param1, ReflectionParameter $param2 )
$function ReflectionFunction
$param1 ReflectionParameter
$param2 ReflectionParameter

it_provides_a_method_to_check_if_collaborator_exists() public method

it_stores_collaborators_by_name() public method

public it_stores_collaborators_by_name ( $collaborator )

it_throws_CollaboratorException_on_attempt_to_get_unexisting_collaborator() public method

let() public method

public let ( PhpSpec\Formatter\Presenter\Presenter $presenter )
$presenter PhpSpec\Formatter\Presenter\Presenter