Neos\Flow\Core\ClassLoader::createFallbackPathEntry PHP Method

createFallbackPathEntry() public method

Adds an entry to the fallback path map. MappingType for this kind of paths is always PSR4 as no package namespace is used then.
public createFallbackPathEntry ( string $path ) : void
$path string The fallback path to search in.
return void
    public function createFallbackPathEntry($path)
    {
        $entryIdentifier = md5($path);
        if (!isset($this->fallbackClassPaths[$entryIdentifier])) {
            $this->fallbackClassPaths[$entryIdentifier] = ['path' => $path, 'mappingType' => self::MAPPING_TYPE_PSR4];
        }
    }