original_string: public function persist()
      {
          $parts = explode('/', $this->file);
          array_pop($parts);
  
          $dir = implode('/', $parts);
  
          if (!is_dir($dir)) {
              mkdir($dir, 493, true);
          }
  
          return file_put_contents($this->file, serialize($this->data));
      }
code: public function persist()
      {
          $parts = explode('/', $this->file);
          array_pop($parts);
  
          $dir = implode('/', $parts);
  
          if (!is_dir($dir)) {
              mkdir($dir, 493, true);
          }
  
          return file_put_contents($this->file, serialize($this->data));
      }
code_tokens: public function persist ( ) { $ parts = explode ( '/' , $ this -> file ) ; array_pop ( $ parts ) ; $ dir = implode ( '/' , $ parts ) ; if ( ! is_dir ( $ dir ) ) { mkdir ( $ dir , 493 , true ) ; } return file_put_contents ( $ this -> file , serialize ( $ this -> data ) ) ; }
docstring: Persist the cache data
  
  @return bool
docstring_tokens: Persist the cache data