RuntimeLoaderInterface

Extends

Creates runtime implementations for Twig elements (filters/functions/tests).

author

Fabien Potencier fabien@symfony.com

package

Default

Methods

Creates the runtime implementation of a Twig element (filter/function/test).

load(string $class): object|null

Arguments

$class

string

A runtime class

Response

object|null

The runtime instance or null if the loader does not know how to create the runtime for this class