W3cubDocs

/Symfony 4.1

EnvironmentConfigurator

class EnvironmentConfigurator

Twig environment configurator.

Methods

__construct(string $dateFormat, string $intervalFormat, string|null $timezone, int $decimals, string $decimalPoint, string $thousandsSeparator)
configure(Environment $environment)

Details

__construct(string $dateFormat, string $intervalFormat, string|null $timezone, int $decimals, string $decimalPoint, string $thousandsSeparator)

Parameters

string $dateFormat
string $intervalFormat
string|null $timezone
int $decimals
string $decimalPoint
string $thousandsSeparator

configure(Environment $environment)

Parameters

Environment $environment