コード例 #1
0
ファイル: Rule.php プロジェクト: zientalak/devicedetector
 /**
  * {@inheritdoc}
  */
 public function removeCondition(ConditionInterface $condition)
 {
     if ($this->hasCondition($condition)) {
         $this->conditions->detach($condition);
         return true;
     }
     return false;
 }