예제 #1
0
파일: Deck.php 프로젝트: hkxnyc/php_poker
 public function __construct()
 {
     foreach (Card::getSuits() as $suit) {
         foreach (Card::getValues() as $value) {
             $this->cards[] = new Card($suit, $value);
         }
     }
 }