private extractNonExistentClass ( Error $exception ) : null | string | ||
$exception | Error | |
return | null | string |
private function extractNonExistentClass(Error $exception)
{
if (1 === preg_match(self::PATTERN, $exception->getMessage(), $matches)) {
return $matches[1];
}
return null;
}