PHP Класс Eloquent\Phony\Stub\EmptyValueFactory

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

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

Метод Описание
fromType ( ReflectionType $type ) : mixed Create a value of the supplied type.
instance ( ) : EmptyValueFactory Get the static instance of this factory.
setMockBuilderFactory ( MockBuilderFactory $mockBuilderFactory ) Set the mock builder factory.
setStubVerifierFactory ( StubVerifierFactory $stubVerifierFactory ) Set the stub verifier factory.

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

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

Create a value of the supplied type.
public fromType ( ReflectionType $type ) : mixed
$type ReflectionType The type.
Результат mixed A value of the supplied type.

instance() публичный статический Метод

Get the static instance of this factory.
public static instance ( ) : EmptyValueFactory
Результат EmptyValueFactory The static factory.

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

Set the mock builder factory.
public setMockBuilderFactory ( MockBuilderFactory $mockBuilderFactory )
$mockBuilderFactory Eloquent\Phony\Mock\Builder\MockBuilderFactory The mock builder factory to use.

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

Set the stub verifier factory.
public setStubVerifierFactory ( StubVerifierFactory $stubVerifierFactory )
$stubVerifierFactory StubVerifierFactory The stub verifier factory to use.