PHP Класс spec\PhpSpec\CodeGenerator\Generator\NewFileNotifyingGeneratorSpec

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

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

Метод Описание
it_is_a_code_generator ( )
it_should_check_that_the_file_was_created ( $generator, $filesystem, PhpSpec\Locator\Resource $resource )
it_should_dispatch_an_event_when_a_file_is_created ( $dispatcher, $filesystem, PhpSpec\Locator\Resource $resource )
it_should_dispatch_an_event_with_the_spec_path_when_a_spec_is_created ( $generator, $dispatcher, $filesystem, PhpSpec\Locator\Resource $resource )
it_should_not_dispatch_an_event_if_the_file_already_existed ( $dispatcher, $filesystem, PhpSpec\Locator\Resource $resource )
it_should_not_dispatch_an_event_if_the_file_was_not_created ( $dispatcher, $filesystem, PhpSpec\Locator\Resource $resource )
it_should_proxy_the_generate_call_to_the_decorated_object ( $generator, PhpSpec\Locator\Resource $resource )
it_should_proxy_the_priority_call_to_the_decorated_object ( $generator )
it_should_proxy_the_support_call_to_the_decorated_object ( $generator, PhpSpec\Locator\Resource $resource )
let ( PhpSpec\CodeGenerator\Generator\Generator $generator, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Filesystem $filesystem )

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

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

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

public it_should_check_that_the_file_was_created ( $generator, $filesystem, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

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

public it_should_dispatch_an_event_when_a_file_is_created ( $dispatcher, $filesystem, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

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

public it_should_dispatch_an_event_with_the_spec_path_when_a_spec_is_created ( $generator, $dispatcher, $filesystem, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

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

public it_should_not_dispatch_an_event_if_the_file_already_existed ( $dispatcher, $filesystem, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

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

public it_should_not_dispatch_an_event_if_the_file_was_not_created ( $dispatcher, $filesystem, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

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

public it_should_proxy_the_generate_call_to_the_decorated_object ( $generator, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

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

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

public it_should_proxy_the_support_call_to_the_decorated_object ( $generator, PhpSpec\Locator\Resource $resource )
$resource PhpSpec\Locator\Resource

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

public let ( PhpSpec\CodeGenerator\Generator\Generator $generator, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Filesystem $filesystem )
$generator PhpSpec\CodeGenerator\Generator\Generator
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$filesystem PhpSpec\Util\Filesystem