original_string: 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)
              )
          );
      }
code: 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)
              )
          );
      }
code_tokens: 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 ) ) ) ; }
docstring: 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
docstring_tokens: Generates PHP filename based on given resource name