ManaPHP\Http\Session::destroy PHP Метод

destroy() публичный Метод

Destroys the active session
public destroy ( ) : void
Результат void
    public function destroy()
    {
        if (PHP_SAPI === 'cli') {
            return;
        }
        if (!session_destroy()) {
            throw new SessionException('destroy session failed: :last_error_message');
        }
    }