Exemplo n.º 1
0
 public function makeBid(Bid $bid)
 {
     $lastBid = $this->getLastBid();
     if ($lastBid && $lastBid->getPrice() > $bid->getPrice()) {
         return false;
     }
     $this->bids[] = $bid;
 }