function __construct() { $this->contact = new \stdClass(); $this->contact->vid = "1234"; $this->contacts = [$this->contact, $this->contact, $this->contact]; parent::__construct('demo'); }
/** * Register any application services. * * @return void */ public function register() { $this->app->bind(MailChimp::class, function () { return new MailChimp(env('MAILCHIMP_API_KEY')); }); $this->app->bind(HubSpotService::class, function () { return HubSpotService::make(env('HUBSPOT_API_KEY')); }); }