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