Méthode |
Description |
|
__call ( string $method, array $arguments = [] ) : mixed |
Proxies all calls to the PhpSpec subject |
|
__get ( string $property ) : mixed |
Proxies getting to the PhpSpec subject |
|
__invoke ( ) : mixed |
Proxies functor calls to PhpSpec subject |
|
__set ( string $property, mixed $value ) |
Proxies setting to the PhpSpec subject |
|
getMatchers ( ) : array |
Override this method to provide your own inline matchers |
|
getWrappedObject ( ) : object |
Gets the unwrapped proxied object from PhpSpec subject |
|
offsetExists ( string | integer $key ) : Subject |
Checks if a key exists in case object implements ArrayAccess |
|
offsetGet ( string | integer $key ) : Subject |
Gets the value in a particular position in the ArrayAccess object |
|
offsetSet ( string | integer $key, mixed $value ) |
Sets the value in a particular position in the ArrayAccess object |
|
offsetUnset ( string | integer $key ) |
Unsets a position in the ArrayAccess object |
|
setSpecificationSubject ( Subject $subject ) |
Used by { @link PhpSpec\Runner\Maintainer\SubjectMaintainer::prepare() }
to prepare the subject with all the needed collaborators for proxying
object behaviour |
|