PHP 클래스 Eloquent\Phony\Spy\Detail\GeneratorSpyFactoryDetailPhp

파일 보기 프로젝트 열기: eloquent/phony 1 사용 예제들

공개 메소드들

메소드 설명
createGeneratorSpy ( Eloquent\Phony\Call\Call $call, Generator $generator, CallEventFactory $callEventFactory ) : Generator Create a new generator spy.

메소드 상세

createGeneratorSpy() 공개 정적인 메소드

Create a new generator spy.
public static createGeneratorSpy ( Eloquent\Phony\Call\Call $call, Generator $generator, CallEventFactory $callEventFactory ) : Generator
$call Eloquent\Phony\Call\Call The call from which the generator originated.
$generator Generator The generator.
$callEventFactory Eloquent\Phony\Call\Event\CallEventFactory The call event factory to use.
리턴 Generator The newly created generator spy.