\phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints\FunctionsIsArgumentInDocBlockValidator

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

Summary

Methods
Properties
Constants
validate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
existsParamTagWithArgument()
No private properties found
N/A

Methods

validate()

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

Parameters

$value
\Symfony\Component\Validator\Constraint $constraint

existsParamTagWithArgument()

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.

Parameters

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

Returns

boolean