예제 #1
0
 /**
  * Creates an instance of binary expression node, representing the construction: subject <= value
  *
  * @param mixed $subject logical subject
  * @param mixed $value value to match the subject
  *
  * SQL example:
  * @code
  * // "id" <= 1
  * Expression::ltEq("id", 1);
  * @endcode
  * @return BinaryExpression
  */
 static function ltEq($subject, $value)
 {
     return new BinaryExpression($subject, BinaryLogicalOperator::lowerOrEquals(), $value);
 }