Property | Type | Description | |
---|---|---|---|
$context | Allows Annotation classes to know the context of the annotation that is being processed. | ||
$docParser | |||
$whitelist | array | List of namespaces that should be detected by the doctrine annotation parser. |
Method | Description | |
---|---|---|
__construct ( $docParser = null ) | ||
fromComment ( string $comment, |
Use doctrine to parse the comment block and return the detected annotations. |
public fromComment ( string $comment, |
||
$comment | string | a T_DOC_COMMENT. |
$context | ||
return | array | Annotations |
public static Context,swagger $context | ||
return |
public DocParser,Doctrine\Common\Annotations $docParser | ||
return |
public static array $whitelist | ||
return | array |