PHP 클래스 Eloquent\Phony\Stub\EmptyValueFactory

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

공개 메소드들

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