src/Base/AbstractRequest.php
public function setSessionItem(string $name, $value): void
    {
        $this->sessionItems->set($name, $value);
    }
public function setSessionItem(string $name, $value): void
    {
        $this->sessionItems->set($name, $value);
    }
public function setSessionItem ( string $ name , $ value ) : void { $ this -> sessionItems -> set ( $ name , $ value ) ; }
Sets a session item.

@since 2.0.0

@param string $name  The session item name.
@param mixed  $value The session item value.
Sets a session item .