PHP Class PhpSpec\Wrapper\Subject\Expectation\UnwrapDecorator

Inheritance: extends Decorator, implements PhpSpec\Wrapper\Subject\Expectation\ExpectationInterface
Show file Open project: phpspec/phpspec

Public Methods

Method Description
__construct ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Unwrapper $unwrapper )
match ( string $alias, mixed $subject, array $arguments = [] ) : mixed

Method Details

__construct() public method

public __construct ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Unwrapper $unwrapper )
$expectation PhpSpec\Wrapper\Subject\Expectation\Expectation
$unwrapper PhpSpec\Wrapper\Unwrapper

match() public method

public match ( string $alias, mixed $subject, array $arguments = [] ) : mixed
$alias string
$subject mixed
$arguments array
return mixed