/** * Determine if the client has room kick right * * @param Client $client The client to check the right on * * @return bool True if the client has room kick right, false otherwise */ public function hasKickRight(Client $client) : bool { $userManager = new UserManager($client->getUser()); return $userManager->hasRoomKickRight($this->room); }