Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
Twig /
RuntimeLoader /
Delete
Unzip
Name
Size
Permission
Date
Action
ContainerRuntimeLoader.php
875
B
-rw-r--r--
2023-02-08 07:49
FactoryRuntimeLoader.php
845
B
-rw-r--r--
2023-02-08 07:49
RuntimeLoaderInterface.php
683
B
-rw-r--r--
2023-02-08 07:49
Save
Rename
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Twig\RuntimeLoader; use Psr\Container\ContainerInterface; /** * Lazily loads Twig runtime implementations from a PSR-11 container. * * Note that the runtime services MUST use their class names as identifiers. * * @author Fabien Potencier <fabien@symfony.com> * @author Robin Chalas <robin.chalas@gmail.com> */ class ContainerRuntimeLoader implements RuntimeLoaderInterface { private $container; public function __construct(ContainerInterface $container) { $this->container = $container; } public function load(string $class) { return $this->container->has($class) ? $this->container->get($class) : null; } }