/home/techb158/public_html/wp-content/plugins/kirki/libraries/framework
NameSizeModeActions
Collections/-0755rm
Concerns/-0755rm
Console/-0755rm
Constants/-0755rm
Contracts/-0755rm
Database/-0755rm
Discovery/-0755rm
Exceptions/-0755rm
Filesystem/-0755rm
Http/-0755rm
Managers/-0755rm
Middlewares/-0755rm
Polyfill/-0755rm
Routing/-0755rm
Supports/-0755rm
Validation/-0755rm
View/-0755rm
Wordpress/-0755rm
ApiExceptionHandler.php21270644editdlrm
Application.php244380644editdlrm
Container.php128850644editdlrm
CoreServiceProvider.php41020644editdlrm
DTO.php85050644editdlrm
Facade.php28060644editdlrm
helpers.php216790644editdlrm
Listener.php8330644editdlrm
Resource.php68760644editdlrm
Route.php522610644editdlrm
Sanitizer.php102900644editdlrm
ServiceProvider.php10570644editdlrm
SiteExceptionHandler.php20760644editdlrm
Edit: /home/techb158/public_html/wp-content/plugins/kirki/libraries/framework/CoreServiceProvider.php (4102B)
register_database_services(); $this->register_discoveries(); $this->register_managers(); $this->register_migrations(); $this->register_messages(); $this->app->singleton(Response::class); $this->app->singleton(TemplateEngine::class); $this->app->singleton(ViewContext::class); if (\class_exists(\Faker\Factory::class)) { $this->app->singleton(\Faker\Factory::class, function () { return \Faker\Factory::create(); }); } } /** * Boot the service provider. * * @return void * * @since 1.0.0 */ public function boot() { $this->app->make(PolicyDiscovery::class)->discover()->cache(); $this->app->make(ListenerDiscovery::class)->discover()->cache(); } /** * Register the messages. * * @return void * * @since 1.0.0 */ protected function register_messages() { $this->app->singleton(MessagesBag::class, function () { return new MessagesBag(); }); } /** * Register the managers. * * @return void * * @since 1.0.0 */ protected function register_managers() { $this->app->singleton(DatabaseManager::class); $this->app->singleton(SchemaManager::class); $this->app->singleton(LogManager::class); $this->app->singleton(EventManager::class); $this->app->singleton(PolicyManager::class); $this->app->singleton(CookieManager::class); $this->app->bind(SomoyInterface::class, function () { return new Somoy(); }); $this->app->singleton(CommandManager::class); } /** * Register the discoveries. * * @return void * * @since 1.0.0 */ protected function register_discoveries() { $this->app->singleton(ListenerDiscovery::class); $this->app->singleton(PolicyDiscovery::class); } /** * Register the database singletons. * * @return void * * @since 1.0.0 */ protected function register_database_services() { $this->app->singleton(Connection::class); $this->app->singleton(Migrator::class); } /** * Register the migrations tags. * * @return void * * @since 1.0.0 */ protected function register_migrations() { $migrations_path = $this->app->config_path('migrations.php'); if (!\file_exists($migrations_path)) { return; } $migrations = (include $migrations_path); if (empty($migrations)) { return; } $this->app->tag($migrations, 'app.migrations'); } }