PHP Class PhpSpec\Wrapper\Subject\Expectation\DuringCall

Show file Open project: phpspec/phpspec

Public Methods

Method Description
__call ( string $method, array $arguments = [] ) : mixed
__construct ( PhpSpec\Matcher\Matcher $matcher )
during ( string $method, array $arguments = [] ) : mixed
duringInstantiation ( ) : mixed
match ( string $alias, mixed $subject, array $arguments = [], WrappedObject | null $wrappedObject = null )

Protected Methods

Method Description
getArguments ( ) : array
getMatcher ( ) : PhpSpec\Matcher\Matcher
runDuring ( object $object, string $method, array $arguments = [] ) : mixed

Method Details

__call() public method

public __call ( string $method, array $arguments = [] ) : mixed
$method string
$arguments array
return mixed

__construct() public method

public __construct ( PhpSpec\Matcher\Matcher $matcher )
$matcher PhpSpec\Matcher\Matcher

during() public method

public during ( string $method, array $arguments = [] ) : mixed
$method string
$arguments array
return mixed

duringInstantiation() public method

public duringInstantiation ( ) : mixed
return mixed

getArguments() protected method

protected getArguments ( ) : array
return array

getMatcher() protected method

protected getMatcher ( ) : PhpSpec\Matcher\Matcher
return PhpSpec\Matcher\Matcher

match() public method

public match ( string $alias, mixed $subject, array $arguments = [], WrappedObject | null $wrappedObject = null )
$alias string
$subject mixed
$arguments array
$wrappedObject PhpSpec\Wrapper\Subject\WrappedObject | null

runDuring() abstract protected method

abstract protected runDuring ( object $object, string $method, array $arguments = [] ) : mixed
$object object
$method string
$arguments array
return mixed