Skip to content

Commit

Permalink
load service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
remyperona committed Oct 10, 2023
1 parent 2bbc075 commit a104d66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Engine/Media/AboveTheFold/ServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace WP_Rocket\Engine\Optimization\RUCSS;
namespace WP_Rocket\Engine\Media\AboveTheFold;

use WP_Rocket\Dependencies\League\Container\ServiceProvider\AbstractServiceProvider;
use WP_Rocket\Engine\Media\AboveTheFold\Database\Tables\AboveTheFold as ATFTable;
Expand Down
2 changes: 2 additions & 0 deletions inc/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
use WP_Rocket\Engine\Heartbeat\ServiceProvider as HeartbeatServiceProvider;
use WP_Rocket\Engine\License\ServiceProvider as LicenseServiceProvider;
use WP_Rocket\Engine\Media\ServiceProvider as MediaServiceProvider;
use WP_Rocket\Engine\Media\AboveTheFold\ServiceProvider as ATFServiceProvider;
use WP_Rocket\Engine\Optimization\AdminServiceProvider as OptimizationAdminServiceProvider;
use WP_Rocket\Engine\Optimization\DeferJS\ServiceProvider as DeferJSServiceProvider;
use WP_Rocket\Engine\Optimization\DelayJS\ServiceProvider as DelayJSServiceProvider;
Expand Down Expand Up @@ -289,6 +290,7 @@ private function init_common_subscribers() {
$this->container->addServiceProvider( APIServiceProvider::class );
$this->container->addServiceProvider( CommmonExtractCSSServiceProvider::class );
$this->container->addServiceProvider( LazyloadCSSServiceProvider::class );
$this->container->addServiceProvider( ATFServiceProvider::class );

$common_subscribers = [
'license_subscriber',
Expand Down

0 comments on commit a104d66

Please sign in to comment.