public function serialize()
    {
        return serialize([
            'key' => $this->key,
            'value' => $this->value,
            'expires' => $this->expires,
            'hit' => $this->hit
        ]);
    }
public function serialize()
    {
        return serialize([
            'key' => $this->key,
            'value' => $this->value,
            'expires' => $this->expires,
            'hit' => $this->hit
        ]);
    }
public function serialize ( ) { return serialize ( [ 'key' => $ this -> key , 'value' => $ this -> value , 'expires' => $ this -> expires , 'hit' => $ this -> hit ] ) ; }
Serialize the item. Required for storing in the containing cache
Serialize the item . Required for storing in the containing cache