[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
rocket-lazy-load
/
src
/
ServiceProvider
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 AdminServiceProvider.php
1,169 B
SET
[ EDIT ]
|
[ DEL ]
📄 ImagifyNoticeServiceProvider.php
708 B
SET
[ EDIT ]
|
[ DEL ]
📄 LazyloadServiceProvider.php
700 B
SET
[ EDIT ]
|
[ DEL ]
📄 SubscribersServiceProvider.php
1,562 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: AdminServiceProvider.php
<?php /** * Service Provider for the admin page classes * * @package RocketLazyload */ namespace RocketLazyLoadPlugin\ServiceProvider; use RocketLazyLoadPlugin\Admin\AdminPage; use RocketLazyLoadPlugin\Dependencies\LaunchpadCore\Container\AbstractServiceProvider; use RocketLazyLoadPlugin\Dependencies\League\Container\Definition\DefinitionInterface; use RocketLazyLoadPlugin\Subscriber\AdminPageSubscriber; /** * Adds the admin page to the container * * @since 2.0 * @author Remy Perona */ class AdminServiceProvider extends AbstractServiceProvider { public function get_common_subscribers(): array { return [ AdminPageSubscriber::class, ]; } public function define() { $this->register_service( AdminPage::class ) ->set_definition( function ( DefinitionInterface $instance ) { $instance->addArguments( [ 'template_path' ] ); } ); $this->register_service( AdminPageSubscriber::class ) ->share() ->set_definition( function ( DefinitionInterface $instance ) { $instance->addArguments( [ AdminPage::class, 'plugin_basename' ] ); } ); } }