예제 #1
0
파일: Order.php 프로젝트: ahmadrabie/Sylius
 /**
  * {@inheritdoc}
  */
 public function clearAdjustments()
 {
     $this->adjustments->clear();
     $this->recalculateAdjustmentsTotal();
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function clearAdjustments()
 {
     return $this->adjustments->clear();
 }
예제 #3
0
 /**
  * {@inheritdoc}
  */
 public function hasAdjustment(AdjustmentInterface $adjustment)
 {
     return $this->adjustments->contains($adjustment);
 }