public static function resolveFileName(string $fileName): string
    {
        $suffix = '.php';
        $pathParts = explode($suffix, str_replace(
            [self::$rewriteToPath, DIRECTORY_SEPARATOR . '_proxies'],
            [self::$rootPath, ''],
            $fileName
        ));
        // throw away namespaced path from actual filename
        return $pathParts[0] . $suffix;
    }
public static function resolveFileName(string $fileName): string
    {
        $suffix = '.php';
        $pathParts = explode($suffix, str_replace(
            [self::$rewriteToPath, DIRECTORY_SEPARATOR . '_proxies'],
            [self::$rootPath, ''],
            $fileName
        ));
        // throw away namespaced path from actual filename
        return $pathParts[0] . $suffix;
    }
public static function resolveFileName ( string $ fileName ) : string { $ suffix = '.php' ; $ pathParts = explode ( $ suffix , str_replace ( [ self :: $ rewriteToPath , DIRECTORY_SEPARATOR . '_proxies' ] , [ self :: $ rootPath , '' ] , $ fileName ) ) ; // throw away namespaced path from actual filename return $ pathParts [ 0 ] . $ suffix ; }
Resolves file name from the cache directory to the real application root dir
Resolves file name from the cache directory to the real application root dir