PHP Class PhpSpec\Wrapper\Subject\Expectation\DispatcherDecorator

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

Public Methods

Method Description
__construct ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\Matcher\Matcher $matcher, ExampleNode $example )
match ( string $alias, mixed $subject, array $arguments = [] ) : boolean

Method Details

__construct() public method

public __construct ( PhpSpec\Wrapper\Subject\Expectation\Expectation $expectation, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, PhpSpec\Matcher\Matcher $matcher, ExampleNode $example )
$expectation PhpSpec\Wrapper\Subject\Expectation\Expectation
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$matcher PhpSpec\Matcher\Matcher
$example PhpSpec\Loader\Node\ExampleNode

match() public method

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