* @author Robin Chalas */ class ContainerRuntimeLoader implements RuntimeLoaderInterface { public function __construct( private ContainerInterface $container, ) { } public function load(string $class) { return $this->container->has($class) ? $this->container->get($class) : null; } }