Свойство | Тип | Описание | |
---|---|---|---|
$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. |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | array | Annotations |
public static Context,swagger $context | ||
Результат |
public DocParser,Doctrine\Common\Annotations $docParser | ||
Результат |
public static array $whitelist | ||
Результат | array |