original_string: public function write($id, $data)
      {
          if (!$id) {
              return false;
          }
  
          return (bool)Cache::write($id, $data, $this->_options['config']);
      }
code: public function write($id, $data)
      {
          if (!$id) {
              return false;
          }
  
          return (bool)Cache::write($id, $data, $this->_options['config']);
      }
code_tokens: public function write ( $ id , $ data ) { if ( ! $ id ) { return false ; } return ( bool ) Cache :: write ( $ id , $ data , $ this -> _options [ 'config' ] ) ; }
docstring: Helper function called on write for cache sessions.
  
  @param string|int $id ID that uniquely identifies session in cache.
  @param mixed $data The data to be saved.
  @return bool True for successful write, false otherwise.
docstring_tokens: Helper function called on write for cache sessions .