Neos\ContentRepository\Migration\Service\NodeFilter::resolveFilterClass PHP Method

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
    protected function resolveFilterClass($name)
    {
        $resolvedObjectName = $this->objectManager->getCaseSensitiveObjectName($name);
        if ($resolvedObjectName !== false) {
            return $resolvedObjectName;
        }
        $resolvedObjectName = $this->objectManager->getCaseSensitiveObjectName('Neos\\ContentRepository\\Migration\\Filters\\' . $name);
        if ($resolvedObjectName !== false) {
            return $resolvedObjectName;
        }
        throw new MigrationException('A filter with the name "' . $name . '" could not be found.', 1343199467);
    }