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