PHP Class spec\PhpSpec\CodeGenerator\Generator\NamedConstructorGeneratorSpec

Inheritance: extends PhpSpec\ObjectBehavior
Exibir arquivo Open project: phpspec/phpspec

Public Methods

Method Description
it_does_not_support_anything_else ( PhpSpec\Locator\Resource $resource )
it_generates_static_constructor_method_from_resource ( $io, $tpl, $fs, PhpSpec\Locator\Resource $resource, PhpSpec\CodeGenerator\Writer\CodeWriter $codeWriter )
it_is_a_generator ( )
it_supports_static_constructor_generation ( PhpSpec\Locator\Resource $resource )
its_priority_is_0 ( )
let ( ConsoleIO $io, TemplateRenderer $tpl, Filesystem $fs, PhpSpec\CodeGenerator\Writer\CodeWriter $codeWriter )

Method Details

it_does_not_support_anything_else() public method

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

it_generates_static_constructor_method_from_resource() public method

public it_generates_static_constructor_method_from_resource ( $io, $tpl, $fs, PhpSpec\Locator\Resource $resource, PhpSpec\CodeGenerator\Writer\CodeWriter $codeWriter )
$resource PhpSpec\Locator\Resource
$codeWriter PhpSpec\CodeGenerator\Writer\CodeWriter

it_is_a_generator() public method

public it_is_a_generator ( )

it_supports_static_constructor_generation() public method

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

its_priority_is_0() public method

public its_priority_is_0 ( )

let() public method

public let ( ConsoleIO $io, TemplateRenderer $tpl, Filesystem $fs, PhpSpec\CodeGenerator\Writer\CodeWriter $codeWriter )
$io PhpSpec\Console\ConsoleIO
$tpl PhpSpec\CodeGenerator\TemplateRenderer
$fs PhpSpec\Util\Filesystem
$codeWriter PhpSpec\CodeGenerator\Writer\CodeWriter