src/Chiron/Http/Session/SessionManager.php
public function destroy(): bool
    {
        if (! $this->isStarted()) {
            $this->start();
        }
        $name = $this->getName();
        $params = $this->getCookieParams();
        $this->clear();
        $destroyed = session_destroy();
        if ($destroyed) {
            call_user_func($this->delete_cookie, $name, $params);
        }

        return $destroyed;
    }
public function destroy(): bool
    {
        if (! $this->isStarted()) {
            $this->start();
        }
        $name = $this->getName();
        $params = $this->getCookieParams();
        $this->clear();
        $destroyed = session_destroy();
        if ($destroyed) {
            call_user_func($this->delete_cookie, $name, $params);
        }

        return $destroyed;
    }
public function destroy ( ) : bool { if ( ! $ this -> isStarted ( ) ) { $ this -> start ( ) ; } $ name = $ this -> getName ( ) ; $ params = $ this -> getCookieParams ( ) ; $ this -> clear ( ) ; $ destroyed = session_destroy ( ) ; if ( $ destroyed ) { call_user_func ( $ this -> delete_cookie , $ name , $ params ) ; } return $ destroyed ; }
Destroys the session entirely.

@return bool

@see http://php.net/manual/en/function.session-destroy.php
Destroys the session entirely .