validate()
validate(\phpDocumentor\Reflection\BaseReflector $element) : \phpDocumentor\Descriptor\Validator\Error|null
Validates whether the given Reflector's arguments match the business rules of phpDocumentor.
Parameters
\phpDocumentor\Reflection\BaseReflector | $element |
Throws
- \UnexpectedValueException
if no DocBlock is associated with the given Reflector.