*/ interface RuntimeLoaderInterface { /** * Creates the runtime implementation of a Twig element (filter/function/test). * * @template TRuntime of object * * @param class-string $class A runtime class name * * @return TRuntime|null The runtime instance or null if the loader does not know how to create the runtime for this class */ public function load(string $class): ?object; }