protected function getCacheFilename($name)
    {
        $class = substr($this->generateClassName($name), strlen(static::CLASS_PREFIX));

        return str_replace(
            '/',
            DIRECTORY_SEPARATOR,
            sprintf(
                '%s/%s/%s/%s.php',
                $this->getCacheDir(),
                substr($class, 0, 2),
                substr($class, 2, 2),
                substr($class, 4)
            )
        );
    }
protected function getCacheFilename($name)
    {
        $class = substr($this->generateClassName($name), strlen(static::CLASS_PREFIX));

        return str_replace(
            '/',
            DIRECTORY_SEPARATOR,
            sprintf(
                '%s/%s/%s/%s.php',
                $this->getCacheDir(),
                substr($class, 0, 2),
                substr($class, 2, 2),
                substr($class, 4)
            )
        );
    }
protected function getCacheFilename ( $ name ) { $ class = substr ( $ this -> generateClassName ( $ name ) , strlen ( static :: CLASS_PREFIX ) ) ; return str_replace ( '/' , DIRECTORY_SEPARATOR , sprintf ( '%s/%s/%s/%s.php' , $ this -> getCacheDir ( ) , substr ( $ class , 0 , 2 ) , substr ( $ class , 2 , 2 ) , substr ( $ class , 4 ) ) ) ; }
Generates PHP filename based on given resource name

@param string $name Resource filename

@return bool|string Returns FALSE if cache dir isn't configured or generated PHP absolute filename otherwise
Generates PHP filename based on given resource name