public static function parseSimpleAnnotationValue($annotation, $docComment)
    {
        $matches = [];
        preg_match("#@$annotation\\s+([^\\s]+)#", $docComment, $matches);
        return !empty($matches) ? $matches[1] : null;
    }
public static function parseSimpleAnnotationValue($annotation, $docComment)
    {
        $matches = [];
        preg_match("#@$annotation\\s+([^\\s]+)#", $docComment, $matches);
        return !empty($matches) ? $matches[1] : null;
    }
public static function parseSimpleAnnotationValue ( $ annotation , $ docComment ) { $ matches = [ ] ; preg_match ( "#@$annotation\\s+([^\\s]+)#" , $ docComment , $ matches ) ; return ! empty ( $ matches ) ? $ matches [ 1 ] : null ; }
Parse value of requested simple annotation from given doc comment

@param string $annotation
@param string $docComment
@return string|null
Parse value of requested simple annotation from given doc comment