Behat\Testwork\Call\Handler\Exception\MethodNotFoundHandler::extractNonExistentCallable PHP Method

extractNonExistentCallable() private method

Extract callable from exception.
private extractNonExistentCallable ( Error $exception ) : null | array
$exception Error
return null | array
    private function extractNonExistentCallable(Error $exception)
    {
        if (1 === preg_match(self::PATTERN, $exception->getMessage(), $matches)) {
            return array($matches[1], $matches[2]);
        }
        return null;
    }