HasSummaryValidator

Extends \Symfony\Component\Validator\ConstraintValidator

Validates whether a property has a summary, or an `@var` tag with a description.

package

Default

Methods

Checks if the passed value is valid.

validate(\phpDocumentor\Descriptor\PropertyDescriptor $value, \Symfony\Component\Validator\Constraint $constraint) 
Throws
\Symfony\Component\Validator\Exception\ConstraintDefinitionException

if this is not a constraint on a PropertyDescriptor object.

Arguments

$value

\phpDocumentor\Descriptor\PropertyDescriptor

The value that should be validated

$constraint

\Symfony\Component\Validator\Constraint

The constraint for the validation