Example #1
0
 /**
  * {@inheritdoc}
  */
 public function addCondition(ConditionInterface $condition)
 {
     if (!$this->hasCondition($condition)) {
         $this->conditions->attach($condition);
         return true;
     }
     return false;
 }