/** * Check if entity has relation * * @param string $relation * * @return $this */ public function has($relation) { $this->model = $this->model->has($relation); return $this; }