Doctrine\Common\Annotations\DocParser::parse
Parses the given docblock string for annotations.
Signature
public function parse(string
$input,
[string
$context = ''] )
Parameters
$input
— string- The docblock string to parse.
$context
— string- The parsing context.
Returns
- array
- Array of annotations. If no annotations are found, an empty array is returned.