PHP Class Eloquent\Phony\Stub\EmptyValueFactory

Afficher le fichier Open project: eloquent/phony Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

fromType() public méthode

Create a value of the supplied type.
public fromType ( ReflectionType $type ) : mixed
$type ReflectionType The type.
Résultat mixed A value of the supplied type.

instance() public static méthode

Get the static instance of this factory.
public static instance ( ) : EmptyValueFactory
Résultat EmptyValueFactory The static factory.

setMockBuilderFactory() public méthode

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

setStubVerifierFactory() public méthode

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