PHP 클래스 PHPSpec2\Prophet\ObjectProphet

상속: implements ProphetInterface
파일 보기 프로젝트 열기: phpspec/phpspec2

공개 메소드들

메소드 설명
__call ( $method, array $arguments = [] )
__construct ( $subject = null, MatchersCollection $matchers, ArgumentsUnwrapper $unwrapper )
__get ( $property )
__set ( $property, $value = null )
beAnInstanceOf ( $classname, array $constructorArguments = [] )
beConstructedWith ( )
callOnProphetSubject ( $method, array $arguments = [] )
getFromProphetSubject ( $property )
getWrappedSubject ( )
setToProphetSubject ( $property, $value = null )
should ( $name = null, array $arguments = [] )
shouldNot ( $name = null, array $arguments = [] )

보호된 메소드들

메소드 설명
createLazySubject ( )

비공개 메소드들

메소드 설명
isSubjectMethodAccessible ( $method )
isSubjectPropertyAccessible ( $property, $withValue = false )

메소드 상세

__call() 공개 메소드

public __call ( $method, array $arguments = [] )
$arguments array

__construct() 공개 메소드

public __construct ( $subject = null, MatchersCollection $matchers, ArgumentsUnwrapper $unwrapper )
$matchers PHPSpec2\Matcher\MatchersCollection
$unwrapper PHPSpec2\Wrapper\ArgumentsUnwrapper

__get() 공개 메소드

public __get ( $property )

__set() 공개 메소드

public __set ( $property, $value = null )

beAnInstanceOf() 공개 메소드

public beAnInstanceOf ( $classname, array $constructorArguments = [] )
$constructorArguments array

beConstructedWith() 공개 메소드

public beConstructedWith ( )

callOnProphetSubject() 공개 메소드

public callOnProphetSubject ( $method, array $arguments = [] )
$arguments array

createLazySubject() 보호된 메소드

protected createLazySubject ( )

getFromProphetSubject() 공개 메소드

public getFromProphetSubject ( $property )

getWrappedSubject() 공개 메소드

public getWrappedSubject ( )

setToProphetSubject() 공개 메소드

public setToProphetSubject ( $property, $value = null )

should() 공개 메소드

public should ( $name = null, array $arguments = [] )
$arguments array

shouldNot() 공개 메소드

public shouldNot ( $name = null, array $arguments = [] )
$arguments array