lessThanEqual() public static method

Check that a value is less than or equal to another value.
public static lessThanEqual ( mixed $value ) : LessThanEqual
$value mixed The compared value.
return Webmozart\Expression\Constraint\LessThanEqual The created expression.
示例#1
0
 public function orLessThanEqual($value)
 {
     return $this->orX(Expr::lessThanEqual($value));
 }
示例#2
0
 public function andLessThanEqual($value)
 {
     return $this->andX(Expr::lessThanEqual($value));
 }