original_string: public function deleteAll()
      {
          foreach (scandir($this->directory) as $file) {
              if (!in_array($file, ['.', '..', 'keep'])) {
                  unlink($this->directory . '/' . $file);
              }
          }
      }
code: public function deleteAll()
      {
          foreach (scandir($this->directory) as $file) {
              if (!in_array($file, ['.', '..', 'keep'])) {
                  unlink($this->directory . '/' . $file);
              }
          }
      }
code_tokens: public function deleteAll ( ) { foreach ( scandir ( $ this -> directory ) as $ file ) { if ( ! in_array ( $ file , [ '.' , '..' , 'keep' ] ) ) { unlink ( $ this -> directory . '/' . $ file ) ; } } }
docstring: Removes all cache entries
docstring_tokens: Removes all cache entries