PHP Class Neos\ContentRepository\Migration\Service\NodeFilter

Datei anzeigen Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$filterConjunctions array
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface

Public Methods

Method Description
matchFilters ( NodeData $nodeData, array $filterConfiguration ) : boolean

Protected Methods

Method Description
buildFilterConjunction ( array $filterConfigurations ) : array<\Neos\ContentRepository\Migration\FilterInterface>
constructFilterObject ( array $filterConfiguration ) : Neos\ContentRepository\Migration\Filters\FilterInterface
resolveFilterClass ( string $name ) : string Resolves the class name for the filter by first assuming it is a full qualified class name and otherwise searching in this package (so filters delivered in Neos.ContentRepository can be used by simply giving the class name without namespace).

Method Details

buildFilterConjunction() protected method

protected buildFilterConjunction ( array $filterConfigurations ) : array<\Neos\ContentRepository\Migration\FilterInterface>
$filterConfigurations array
return array<\Neos\ContentRepository\Migration\FilterInterface>

constructFilterObject() protected method

protected constructFilterObject ( array $filterConfiguration ) : Neos\ContentRepository\Migration\Filters\FilterInterface
$filterConfiguration array
return Neos\ContentRepository\Migration\Filters\FilterInterface

matchFilters() public method

public matchFilters ( NodeData $nodeData, array $filterConfiguration ) : boolean
$nodeData Neos\ContentRepository\Domain\Model\NodeData
$filterConfiguration array
return boolean

resolveFilterClass() protected method

Resolves the class name for the filter by first assuming it is a full qualified class name and otherwise searching in this package (so filters delivered in Neos.ContentRepository can be used by simply giving the class name without namespace).
protected resolveFilterClass ( string $name ) : string
$name string
return string

Property Details

$filterConjunctions protected_oe property

protected array $filterConjunctions
return array

$objectManager protected_oe property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface