Eventin_Ai_Service_Provider::class, 'admin' => Admin_Service_Provider::class, 'assets' => Assets_Service_Provider::class, 'api' => Api_Service_Provider::class, 'public_agent' => Public_Agent_Service_Provider::class, 'integration' => Integrations_Service_Provider::class, 'eventin' => Eventin_Tools_Hooks::class, 'eventin_public' => Eventin_Public_Service_Provider::class, 'booktics_public' => Booktics_Public_Service_Provider::class, 'timetics_public' => Timetics_Public_Service_Provider::class, 'wpcafe' => Wpcafe_Tools_Hooks::class, 'booktics' => Booktics_Tools_Hooks::class, 'timetics' => Timetics_Tools_Hooks::class, 'pointics' => Pointics_Tools_Hooks::class, 'helpscout' => HelpScout_Service_Provider::class, 'woocommerce' => WooCommerce_Service_Provider::class, 'feedback' => Feedback_Service_Provider::class, ]; /** * Global Service Provider */ public function __construct() { $this->container = aisentic_container(); $this->register(); $this->boot(); } /** * Register all module providers */ public function register() { $providers = apply_filters( 'aisentic_service_provers', $this->providers ); if ( $providers ) { foreach ( $providers as $key => $provider ) { $this->container->add_service_provider( $key, $provider ); } } } /** * Boot all services from providers */ public function boot() { $this->container->get( 'admin' ); $this->container->get( 'assets' ); $this->container->get( 'api' ); $this->container->get( 'public_agent' ); $this->container->get( 'integration' ); $this->container->get( 'eventin' ); $this->container->get( 'eventin_ai' ); $this->container->get( 'eventin_public' ); $this->container->get( 'booktics_public' ); $this->container->get( 'timetics_public' ); $this->container->get( 'wpcafe' ); $this->container->get( 'booktics' ); $this->container->get( 'timetics' ); $this->container->get( 'pointics' ); $this->container->get( 'helpscout' ); $this->container->get( 'woocommerce' ); $this->container->get( 'feedback' ); } }