Yes, Try injecting the model on the construct.
public function __construct(Category $category){
$this->model = $category;
}
Then your code :
$this->model->join(.....)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community