PHP 클래스 spec\PhpSpec\CodeGenerator\Generator\NewFileNotifyingGeneratorSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: phpspec/phpspec

공개 메소드들

메소드 설명
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