public function __construct(VendorRepository $vendorRepo, VendorService $vendorService) { //parent::__construct(); $this->vendorRepo = $vendorRepo; $this->vendorService = $vendorService; }