src/core/Session.php
public function addAll(array $pairs): void
    {
        foreach ($pairs as $key => $value) {
            $this->add($key, $value);
        }
    }
public function addAll(array $pairs): void
    {
        foreach ($pairs as $key => $value) {
            $this->add($key, $value);
        }
    }
It adds the array of variables (the key-value pairs) to the session.
@param array $pairs
@return void