src/SessionDataHolder.php
public function unsetData():void
    {
        foreach (array_keys($this->data) as $var) {
            if (!in_array($var, self::ALL_HEADERS)) {
                unset($this->data[$var]);
            }
        }
    }
public function unsetData():void
    {
        foreach (array_keys($this->data) as $var) {
            if (!in_array($var, self::ALL_HEADERS)) {
                unset($this->data[$var]);
            }
        }
    }
Unsets all session data.