PHP Class spec\PhpSpec\CodeGenerator\GeneratorManagerSpec

Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: phpspec/phpspec

Méthodes publiques

Méthode Description
it_chooses_generator_by_priority ( PhpSpec\CodeGenerator\Generator\Generator $generator1, PhpSpec\CodeGenerator\Generator\Generator $generator2, PhpSpec\Locator\Resource $resource )
it_throws_exception_if_no_generator_found ( PhpSpec\Locator\Resource $resource )
it_uses_registered_generators_to_generate_code ( PhpSpec\CodeGenerator\Generator\Generator $generator, PhpSpec\Locator\Resource $resource )

Method Details

it_chooses_generator_by_priority() public méthode

public it_chooses_generator_by_priority ( PhpSpec\CodeGenerator\Generator\Generator $generator1, PhpSpec\CodeGenerator\Generator\Generator $generator2, PhpSpec\Locator\Resource $resource )
$generator1 PhpSpec\CodeGenerator\Generator\Generator
$generator2 PhpSpec\CodeGenerator\Generator\Generator
$resource PhpSpec\Locator\Resource

it_throws_exception_if_no_generator_found() public méthode

public it_throws_exception_if_no_generator_found ( PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

it_uses_registered_generators_to_generate_code() public méthode

public it_uses_registered_generators_to_generate_code ( PhpSpec\CodeGenerator\Generator\Generator $generator, PhpSpec\Locator\Resource $resource )
$generator PhpSpec\CodeGenerator\Generator\Generator
$resource PhpSpec\Locator\Resource