original_string: protected function publishLogout(Principal $principal): bool
      {
          $this->publisher->publish(new Event\Logout($this, $principal));
          return true;
      }
code: protected function publishLogout(Principal $principal): bool
      {
          $this->publisher->publish(new Event\Logout($this, $principal));
          return true;
      }
code_tokens: protected function publishLogout ( Principal $ principal ) : bool { $ this -> publisher -> publish ( new Event \ Logout ( $ this , $ principal ) ) ; return true ; }
docstring: Publishes the logout event.
  
  @param \Caridea\Auth\Principal $principal The authenticated principal
  @return bool Always true
docstring_tokens: Publishes the logout event .