public function write($id, $data)
    {
        if (!$id) {
            return false;
        }

        return (bool)Cache::write($id, $data, $this->_options['config']);
    }
public function write($id, $data)
    {
        if (!$id) {
            return false;
        }

        return (bool)Cache::write($id, $data, $this->_options['config']);
    }
public function write ( $ id , $ data ) { if ( ! $ id ) { return false ; } return ( bool ) Cache :: write ( $ id , $ data , $ this -> _options [ 'config' ] ) ; }
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.
Helper function called on write for cache sessions .