Adldap\Query\Builder::orWhereStartsWith PHP Method

orWhereStartsWith() public method

Adds an or where starts with clause to the current query.
public orWhereStartsWith ( string $field, string $value ) : Builder
$field string
$value string
return Builder
    public function orWhereStartsWith($field, $value)
    {
        return $this->orWhere($field, Operator::$startsWith, $value);
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Adds an or where starts with clause to the current query.
  *
  * @param string $field
  * @param string $value
  *
  * @return $this
  */
 public function orWhereStartsWith($field, $value)
 {
     $this->query->orWhereStartsWith($field, $value);
     return $this;
 }