Exemplo n.º 1
0
 /**
  * Get all hands ranks.
  *
  * @return self
  */
 protected function getRanks()
 {
     foreach ($this->hands as $hand) {
         $this->ranks[] = $this->rankHandler->getRanksByHand($hand);
     }
     return $this;
 }
Exemplo n.º 2
0
 public function test_it_is_a_singleton()
 {
     $this->assertEquals($this->handler, HandHandler::getIns());
 }