示例#1
0
文件: Poker.php 项目: rrylee/phppoker
 /**
  * Get all hands ranks.
  *
  * @return self
  */
 protected function getRanks()
 {
     foreach ($this->hands as $hand) {
         $this->ranks[] = $this->rankHandler->getRanksByHand($hand);
     }
     return $this;
 }
示例#2
0
 public function test_it_is_a_singleton()
 {
     $this->assertEquals($this->handler, HandHandler::getIns());
 }