provides, true ); } /** * Registers items with the container * * @return void */ public function register(): void { /** * Background CSS cache folder. * * @param string $root Background CSS cache folder. */ $root = apply_filters( 'rocket_lazyload_css_cache_root', 'background-css/' ); $this->getContainer()->add( 'lazyload_css_cache', FilesystemCache::class ) ->addArgument( new StringArgument( $root ) ); $this->getContainer()->addShared( 'common_extractcss_subscriber', Subscriber::class ); } }