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