public function set(string $id, string $value): void
    {
        $this->data[$id] = $value;
    }
public function set(string $id, string $value): void
    {
        $this->data[$id] = $value;
    }
public function set ( string $ id , string $ value ) : void { $ this -> data [ $ id ] = $ value ; }
Set an item into the session.

@param string $id    The id
@param string $value The value

@return void
Set an item into the session .