PHP Class spec\PhpSpec\CodeGenerator\Generator\SpecificationGeneratorSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: phpspec/phpspec

Public Methods

Method Description
it_asks_confirmation_if_spec_already_exists ( $io, $tpl, $fs, PhpSpec\Locator\Resource $resource )
it_creates_folder_for_spec_if_needed ( $io, $tpl, $fs, PhpSpec\Locator\Resource $resource )
it_does_not_support_anything_else ( PhpSpec\Locator\Resource $resource )
it_generates_spec_class_from_resource_and_puts_it_into_appropriate_folder ( $io, $tpl, $fs, PhpSpec\Locator\Resource $resource )
it_is_a_generator ( )
it_supports_specification_generations ( PhpSpec\Locator\Resource $resource )
it_uses_template_provided_by_templating_system_if_there_is_one ( $io, $tpl, $fs, PhpSpec\Locator\Resource $resource )
its_priority_is_0 ( )
let ( ConsoleIO $io, TemplateRenderer $tpl, Filesystem $fs, PhpSpec\Process\Context\ExecutionContext $context )

Method Details

it_asks_confirmation_if_spec_already_exists() public method

public it_asks_confirmation_if_spec_already_exists ( $io, $tpl, $fs, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

it_creates_folder_for_spec_if_needed() public method

public it_creates_folder_for_spec_if_needed ( $io, $tpl, $fs, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

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_spec_class_from_resource_and_puts_it_into_appropriate_folder() public method

public it_generates_spec_class_from_resource_and_puts_it_into_appropriate_folder ( $io, $tpl, $fs, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

it_is_a_generator() public method

public it_is_a_generator ( )

it_supports_specification_generations() public method

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

it_uses_template_provided_by_templating_system_if_there_is_one() public method

public it_uses_template_provided_by_templating_system_if_there_is_one ( $io, $tpl, $fs, 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\Process\Context\ExecutionContext $context )
$io PhpSpec\Console\ConsoleIO
$tpl PhpSpec\CodeGenerator\TemplateRenderer
$fs PhpSpec\Util\Filesystem
$context PhpSpec\Process\Context\ExecutionContext