Filter
in package
Filter used to manipulate a descriptor after being build.
This class is used during the building of descriptors. It passes the descriptor to each individual sub-filter, which may change data in the descriptor or even remove it from the building process by returning null.
Constants
DEFAULT_PRIORITY Line 34
int DEFAULT_PRIORITY = 1000
Properties
$factory Line 37
protected$factory : \phpDocumentor\Descriptor\Filter\ClassFactory
Methods
__construct() Line 42
Constructs the filter and attaches the factory to it.
public__construct(ClassFactory $factory) : mixed
attachDefaults() Line 47
publicattachDefaults(ProjectDescriptorBuilder $descriptorBuilder) : void
attach() Line 71
Attaches a filter to a specific FQCN.
publicattach(string $fqcn, FilterInterface $filter) : void
filter() Line 79
Filters the given Descriptor and returns the altered object.
publicfilter(Filterable $descriptor) : Filterable|null