/**
  * @param string      $field
  * @param string      $value
  * @param string|null $dqlAlias
  *
  * @throws InvalidArgumentException
  */
 public function __construct($field, $value, $dqlAlias = null)
 {
     parent::__construct(self::LT, $field, $value, $dqlAlias);
 }
Example #2
0
 /**
  * @param string      $field
  * @param string      $value
  * @param string      $format
  * @param string|null $dqlAlias
  *
  * @throws InvalidArgumentException
  */
 public function __construct($field, $value, $format = self::CONTAINS, $dqlAlias = null)
 {
     $formattedValue = $this->formatValue($format, $value);
     parent::__construct(self::LIKE, $field, $formattedValue, $dqlAlias);
 }
 /**
  * @param string      $field
  * @param string      $field2
  * @param string|null $dqlAlias
  *
  * @throws InvalidArgumentException
  */
 public function __construct($field, $field2, $dqlAlias = null)
 {
     parent::__construct(self::EQ, $field, $field2, $dqlAlias);
 }