)->get( 'load_initial_sitemap_controller' ) ) ->addArgument( $this->getContainer()->get( 'preload_caches_table' ) ); $preload_settings = $this->getContainer()->get( 'preload_settings' ); $this->getContainer()->add( 'check_finished_controller', CheckFinished::class ) ->addArgument( $preload_settings ) ->addArgument( $cache_query ) ->addArgument( $queue ); $check_finished_controller = $this->getContainer()->get( 'check_finished_controller' ); $this->getContainer()->addShared( 'preload_front_subscriber', FrontEndSubscriber::class ) ->addArgument( $fetch_sitemap_controller ) ->addArgument( $preload_url_controller ) ->addArgument( $check_finished_controller ) ->addArgument( $this->getContainer()->get( 'load_initial_sitemap_controller' ) ); $this->getContainer()->add( 'preload_clean_controller', ClearCache::class ) ->addArgument( $cache_query ); $clean_controller = $this->getContainer()->get( 'preload_clean_controller' ); $this->getContainer()->addShared( 'preload_subscriber', Subscriber::class ) ->addArgument( $options ) ->addArgument( $this->getContainer()->get( 'load_initial_sitemap_controller' ) ) ->addArgument( $cache_query ) ->addArgument( $this->getContainer()->get( 'preload_activation' ) ) ->addArgument( $this->getContainer()->get( 'preload_mobile_detect' ) ) ->addArgument( $clean_controller ) ->addArgument( $queue ); $this->getContainer()->addShared( 'preload_cron_subscriber', CronSubscriber::class ) ->addArgument( $preload_settings ) ->addArgument( $cache_query ) ->addArgument( $preload_url_controller ); $this->getContainer()->addShared( 'fonts_preload_subscriber', Fonts::class ) ->addArgument( $options ) ->addArgument( $this->getContainer()->get( 'cdn' ) ); $this->getContainer()->add( 'preload_admin_subscriber', AdminSubscriber::class ) ->addArgument( $preload_settings ); } }