1👍
Thank you all for your comments.
I finally found the solution.
Apparently, in my controller(AssessmentController) my construct method is getting the input from AssessmentRepository (App\Repository).
public function __construct(
Request $request,
AssessmentRepository $repo
) {
$this->request = $request;
$this->repo = $repo;
$this->middleware('permission:access-configuration');
$this->middleware('academic.session.set');
}
Then $repo
is called in my store, update, show, reorder and other methods.
I’ve never seen or used App\Repositories before.
You learn every day!
- [Vuejs]-Set data field from getter and add extra computed field
- [Vuejs]-Vue – Is it possible to use Vuex getters in the computed property of a component?
Source:stackexchange.com