private static isBeforeMethod ( ReflectionMethod $method ) : boolean | ||
$method | ReflectionMethod | |
return | boolean |
private static function isBeforeMethod(ReflectionMethod $method)
{
return preg_match('/@before\\b/', $method->getDocComment());
}