public function __construct(Player $player1, Player $player2) { $this->player1 = $player1->playCard(); $this->player2 = $player2->playCard(); }