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