Filterable

extends Descriptor
in package

Interface to determine which elements can be filtered and to provide a way to set errors on the descriptor.

Methods

Returns the local name for this element.

publicgetName() : string

Returns

string

Returns the description for this element.

publicgetDescription() : string

This method will automatically attempt to inherit the parent's description if this one has none.

Returns

string

Sets a list of errors on the associated element.

publicsetErrors(\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error> $errors) : void

Parameters

$errors : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\Validation\Error>