TimberLoader extends Timber
Factory class for loading the Timber library. The factory avoids calling `Timber::backwards_compatibility()` which has some incompatibilities with Symfony's autoloader.
Table of Contents
- $instance : Timber
- load() : Timber
- Loads the Timber environment. Initialization values can be optionally passed as a dictionary: 'locations', 'dirname', 'cache', 'autoescape'
Properties
$instance
private
static Timber
$instance
Methods
load()
Loads the Timber environment. Initialization values can be optionally passed as a dictionary: 'locations', 'dirname', 'cache', 'autoescape'
public
static load([array<string|int, mixed> $init = [] ]) : Timber
Parameters
- $init : array<string|int, mixed> = []