\phpDocumentor\Plugin\Core\Descriptor\Validator\Constraints\PropertyHasSummaryValidator

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

Summary

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

Methods

validate()

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

Checks if the passed value is valid.

Parameters

\phpDocumentor\Descriptor\PropertyDescriptor $value

The value that should be validated

\Symfony\Component\Validator\Constraint $constraint

The constraint for the validation

Throws

\Symfony\Component\Validator\Exception\ConstraintDefinitionException

if this is not a constraint on a PropertyDescriptor object.