__construct()
__construct(\champlates\string $translationFiles, \champlates\string $translationIdentifier = "@{KEY}")
Dictionary constructor.
Automatically constructs the translations from the provided translation file locations.
Parameters
\champlates\string | $translationFiles | |
\champlates\string | $translationIdentifier |
Throws
- \champlates\InvalidArgumentException:
If there is a problem with the input