PHP Class PhpSpec\Wrapper\Collaborator

Inheritance: implements PhpSpec\Wrapper\ObjectWrapper
Afficher le fichier Open project: phpspec/phpspec Class Usage Examples

Méthodes publiques

Méthode Description
__call ( string $method, array $arguments ) : mixed
__construct ( Prophecy\Prophecy\ObjectProphecy $prophecy )
__get ( string $parameter ) : mixed
__set ( string $parameter, mixed $value )
beADoubleOf ( string $classOrInterface )
beConstructedWith ( array $arguments = null )
getWrappedObject ( ) : object
implement ( string $interface )

Method Details

__call() public méthode

public __call ( string $method, array $arguments ) : mixed
$method string
$arguments array
Résultat mixed

__construct() public méthode

public __construct ( Prophecy\Prophecy\ObjectProphecy $prophecy )
$prophecy Prophecy\Prophecy\ObjectProphecy

__get() public méthode

public __get ( string $parameter ) : mixed
$parameter string
Résultat mixed

__set() public méthode

public __set ( string $parameter, mixed $value )
$parameter string
$value mixed

beADoubleOf() public méthode

public beADoubleOf ( string $classOrInterface )
$classOrInterface string

beConstructedWith() public méthode

public beConstructedWith ( array $arguments = null )
$arguments array

getWrappedObject() public méthode

public getWrappedObject ( ) : object
Résultat object

implement() public méthode

public implement ( string $interface )
$interface string