Neos\Flow\Core\ClassLoader::buildClassPathWithPsr4 PHP Метод

buildClassPathWithPsr4() защищенный Метод

Try to build a path to a class according to PSR-4 rules.
protected buildClassPathWithPsr4 ( array $classNameParts, string $classPath, integer $packageNamespacePartCount ) : string
$classNameParts array Parts of the FQ classname.
$classPath string Already detected class path to a possible package.
$packageNamespacePartCount integer Amount of parts of the className that is also part of the package namespace.
Результат string
    protected function buildClassPathWithPsr4($classNameParts, $classPath, $packageNamespacePartCount)
    {
        $fileName = implode('/', array_slice($classNameParts, $packageNamespacePartCount)) . '.php';
        return $classPath . $fileName;
    }