public function range($val, $x, $y)
    {
        return $this->andX($this->gt($val, $x), $this->lt($val, $y));
    }
public function range($val, $x, $y)
    {
        return $this->andX($this->gt($val, $x), $this->lt($val, $y));
    }
public function range ( $ val , $ x , $ y ) { return $ this -> andX ( $ this -> gt ( $ val , $ x ) , $ this -> lt ( $ val , $ y ) ) ; }
Creates an instance of range, with the given argument.

@param mixed $val Valued to be inspected by range values.
@param int   $x   Starting range value to be used.
@param int   $y   End point value to be used.

@return DoctrineExpr\Andx
Creates an instance of range with the given argument .