VAR_PATTERN
VAR_PATTERN
Pattern of a variable
Class Translation
fetchVars(array $options) : $this
Fetch custom variables into translation
example of properties:
$translation = [ 'value' => [ 'in' => [ 'the' => [ 'depth' => 'valueInTheDepth', ], ], ], ];
example of options:
$options = [ 'customVar' => 'value.in.the.depth', ];
array | $options |