IsArgumentInDocBlockValidator

Extends \Symfony\Component\Validator\ConstraintValidator

Validates if a Method or Function's arguments all have an accompanying param tag in the DocBlock.

package

Default

Methods

Returns whether the list of param tags features the given argument.

existsParamTagWithArgument(array<mixed,\phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints\Functions\ParamDescriptor>|\phpDocumentor\Descriptor\Collection $parameters, \phpDocumentor\Descriptor\ArgumentDescriptor $argument) : boolean

Arguments

$parameters

array<mixed,\phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints\Functions\ParamDescriptor>|\phpDocumentor\Descriptor\Collection

Response

boolean

validate

validate( $value, \Symfony\Component\Validator\Constraint $constraint) 
see \Symfony\Component\Validator\ConstraintValidatorInterface::validate()

Arguments

$value

$constraint

\Symfony\Component\Validator\Constraint