public function save(array $data)
    {
        // This is what we're going to store
        $seriaziledData = $this->serializer->serialize($data);
        $this->storageAdapter->set($this->key, $seriaziledData, $this->ttl);

        return true;
    }
public function save(array $data)
    {
        // This is what we're going to store
        $seriaziledData = $this->serializer->serialize($data);
        $this->storageAdapter->set($this->key, $seriaziledData, $this->ttl);

        return true;
    }
public function save ( array $ data ) { // This is what we're going to store $ seriaziledData = $ this -> serializer -> serialize ( $ data ) ; $ this -> storageAdapter -> set ( $ this -> key , $ seriaziledData , $ this -> ttl ) ; return true ; }
Saves data into a storage

@param array $data Data to be saved
@return void
Saves data into a storage