addResource(string $format, mixed $resource, string $locale, string $domain = null)
Adds a Resource.
addResource(string $format, mixed $resource, string $locale, string $domain = null)
Adds a Resource.
string | $format | The name of the loader (see addLoader()) |
mixed | $resource | The resource name |
string | $locale | The locale |
string | $domain | The domain |
InvalidArgumentException | If the locale contains invalid characters |
Designed by : w10schools
service@w10schools.com
Please login to continue.