Neos\Flow\Core\ClassLoader::createFallbackPathEntry PHP Méthode

createFallbackPathEntry() public méthode

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.
Résultat void
    public function createFallbackPathEntry($path)
    {
        $entryIdentifier = md5($path);
        if (!isset($this->fallbackClassPaths[$entryIdentifier])) {
            $this->fallbackClassPaths[$entryIdentifier] = ['path' => $path, 'mappingType' => self::MAPPING_TYPE_PSR4];
        }
    }