public function __construct(Player $player, $kickMessage) { $this->player = $player; $this->kickMessage = $kickMessage; }