Example #1
0
 /**
  * Use this method to set another comparison in connection with a logical and to the condition.
  *
  * @return $this The same instance to concatenate methods.
  */
 public function logicOr()
 {
     $this->condition->_or();
     return $this;
 }
Example #2
0
 /**
  * Initialize the condition builder.
  *
  * @param ConditionInterface $condition
  */
 public function __construct(ConditionInterface $condition)
 {
     $this->conditionArray = $condition->getConditionArray();
 }