PHP 클래스 Eloquent\Phony\Verification\GeneratorVerifierFactory

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

공개 메소드들

메소드 설명
__construct ( MatcherFactory $matcherFactory, Eloquent\Phony\Assertion\AssertionRecorder $assertionRecorder, AssertionRenderer $assertionRenderer ) Construct a new event order verifier factory.
create ( Eloquent\Phony\Spy\Spy | Eloquent\Phony\Call\Call $subject, array $calls ) : GeneratorVerifier Create a new generator verifier.
instance ( ) : GeneratorVerifierFactory Get the static instance of this factory.
setCallVerifierFactory ( CallVerifierFactory $callVerifierFactory ) Set the call verifier factory.

메소드 상세

__construct() 공개 메소드

Construct a new event order verifier factory.
public __construct ( MatcherFactory $matcherFactory, Eloquent\Phony\Assertion\AssertionRecorder $assertionRecorder, AssertionRenderer $assertionRenderer )
$matcherFactory Eloquent\Phony\Matcher\MatcherFactory The matcher factory to use.
$assertionRecorder Eloquent\Phony\Assertion\AssertionRecorder The assertion recorder to use.
$assertionRenderer Eloquent\Phony\Assertion\AssertionRenderer The assertion renderer to use.

create() 공개 메소드

Create a new generator verifier.
public create ( Eloquent\Phony\Spy\Spy | Eloquent\Phony\Call\Call $subject, array $calls ) : GeneratorVerifier
$subject Eloquent\Phony\Spy\Spy | Eloquent\Phony\Call\Call The subject.
$calls array
리턴 GeneratorVerifier The newly created generator verifier.

instance() 공개 정적인 메소드

Get the static instance of this factory.
public static instance ( ) : GeneratorVerifierFactory
리턴 GeneratorVerifierFactory The static factory.

setCallVerifierFactory() 공개 메소드

Set the call verifier factory.
public setCallVerifierFactory ( CallVerifierFactory $callVerifierFactory )
$callVerifierFactory Eloquent\Phony\Call\CallVerifierFactory The call verifier factory to use.