templatePathAndFilename; } /** * Guarantees that $reference is turned into a * correct, absolute path. The input can be a * relative path or a FILE: or EXT: reference * but cannot be a FAL resource identifier. * * @param string $reference */ protected function ensureAbsolutePath($reference): string { return PathUtility::isAbsolutePath($reference) ? $reference : GeneralUtility::getFileAbsFileName($reference); } }