For 'gettext' and 'XLIFF', 'source' should point to the directory
where the messages are stored.
For 'Database', 'source' must be a valid connection id.
If a deprecated 'SQLite' type is used, 'source' must contain
a valid DSN.
Custom message source are possible by supplying the a filename parameter
in the factory method.
static public factory ( $type, $source = '.', $filename = '' ) : |
||
return | a new message source of the specified type. |