Neos\Neos\Domain\Service\TypoScriptService::readExternalTypoScriptFile PHP Метод

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

If it doesn't exist, this function will just return an empty string.
protected readExternalTypoScriptFile ( string $pathAndFilename ) : string
$pathAndFilename string Path and filename of the TypoScript file
Результат string The content of the .fusion file, plus one chr(10) at the end
    protected function readExternalTypoScriptFile($pathAndFilename)
    {
        return is_file($pathAndFilename) ? Files::getFileContents($pathAndFilename) . chr(10) : '';
    }