validate()
validate( $value, \Symfony\Component\Validator\Constraint $constraint)
Parameters
$value | ||
\Symfony\Component\Validator\Constraint | $constraint |
Validates if a Method or Function's arguments all have an accompanying param tag in the DocBlock.
existsParamTagWithArgument(array<mixed,\phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints\Functions\ParamDescriptor>|\phpDocumentor\Descriptor\Collection $parameters, \phpDocumentor\Descriptor\ArgumentDescriptor $argument) : boolean
Returns whether the list of param tags features the given argument.
array<mixed,\phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints\Functions\ParamDescriptor>|\phpDocumentor\Descriptor\Collection | $parameters | |
\phpDocumentor\Descriptor\ArgumentDescriptor | $argument |