src/Service.php
protected function publishLogout(Principal $principal): bool
    {
        $this->publisher->publish(new Event\Logout($this, $principal));
        return true;
    }
protected function publishLogout(Principal $principal): bool
    {
        $this->publisher->publish(new Event\Logout($this, $principal));
        return true;
    }
protected function publishLogout ( Principal $ principal ) : bool { $ this -> publisher -> publish ( new Event \ Logout ( $ this , $ principal ) ) ; return true ; }
Publishes the logout event.

@param \Caridea\Auth\Principal $principal The authenticated principal
@return bool Always true
Publishes the logout event .