PHP Класс Eloquent\Phony\Spy\Detail\GeneratorSpyFactoryDetailPhpWithReturn

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.