original_string: public function gc() {
          $files = glob($this->getConfig('cacheDir') . '/*', GLOB_MARK);
          $cachetime = $this->getConfig('cacheTime');
          foreach ($files as $file) {
              if(time() - $cachetime > fileatime($file))
                  unlink($file);
          }
      }
code: public function gc() {
          $files = glob($this->getConfig('cacheDir') . '/*', GLOB_MARK);
          $cachetime = $this->getConfig('cacheTime');
          foreach ($files as $file) {
              if(time() - $cachetime > fileatime($file))
                  unlink($file);
          }
      }
code_tokens: public function gc ( ) { $ files = glob ( $ this -> getConfig ( 'cacheDir' ) . '/*' , GLOB_MARK ) ; $ cachetime = $ this -> getConfig ( 'cacheTime' ) ; foreach ( $ files as $ file ) { if ( time ( ) - $ cachetime > fileatime ( $ file ) ) unlink ( $ file ) ; } }
docstring: delete old cached files
docstring_tokens: delete old cached files