示例#1
0
 public function __construct($name)
 {
     parent::__construct();
     $this->name = $name;
 }
示例#2
0
 public function __construct(array $cards = [])
 {
     parent::__construct($cards);
     $this->cardLimit = 2;
 }