\Twig_RuntimeLoaderInterface

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

Summary

Methods
Constants
load()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

load()

load(string  $class) : object|null

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

Parameters

string $class

A runtime class

Returns

object|null —

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