public function whereContains($field, $value) { return $this->where($field, Operator::$contains, $value); }
/** * Adds a where contains clause to the current query. * * @param string $field * @param string $value * * @return $this */ public function whereContains($field, $value) { $this->query->whereContains($field, $value); return $this; }