original_string: public function purge() {
          if ($this->isready) {
              $files = glob($this->glob_keys_pattern(), GLOB_MARK | GLOB_NOSORT);
              if (is_array($files)) {
                  foreach ($files as $filename) {
                      @unlink($filename);
                  }
              }
              $this->keys = array();
          }
          return true;
      }
code: public function purge() {
          if ($this->isready) {
              $files = glob($this->glob_keys_pattern(), GLOB_MARK | GLOB_NOSORT);
              if (is_array($files)) {
                  foreach ($files as $filename) {
                      @unlink($filename);
                  }
              }
              $this->keys = array();
          }
          return true;
      }
code_tokens: public function purge ( ) { if ( $ this -> isready ) { $ files = glob ( $ this -> glob_keys_pattern ( ) , GLOB_MARK | GLOB_NOSORT ) ; if ( is_array ( $ files ) ) { foreach ( $ files as $ filename ) { @ unlink ( $ filename ) ; } } $ this -> keys = array ( ) ; } return true ; }
docstring: Purges the cache definition deleting all the items within it.
  
  @return boolean True on success. False otherwise.
docstring_tokens: Purges the cache definition deleting all the items within it .