PhpSpec\Wrapper\Subject\Expectation\DuringCall::__call PHP Метод

__call() публичный Метод

public __call ( string $method, array $arguments = [] ) : mixed
$method string
$arguments array
Результат mixed
    public function __call($method, array $arguments = array())
    {
        if (preg_match('/^during(.+)$/', $method, $matches)) {
            return $this->during(lcfirst($matches[1]), $arguments);
        }
        throw new MatcherException('Incorrect usage of matcher Throw, ' . 'either prefix the method with "during" and capitalize the ' . 'first character of the method or use ->during(\'callable\', ' . 'array(arguments)).' . PHP_EOL . 'E.g.' . PHP_EOL . '->during' . ucfirst($method) . '(arguments)' . PHP_EOL . 'or' . PHP_EOL . '->during(\'' . $method . '\', array(arguments))');
    }