platform/api/laravel/Contracts/Translation/Loader.yaml
2024-09-02 10:44:11 -07:00

58 lines
994 B
YAML

name: Loader
class_comment: null
dependencies: []
properties: []
methods:
- name: load
visibility: public
parameters:
- name: locale
- name: group
- name: namespace
default: 'null'
comment: '# * Load the messages for the given locale.
# *
# * @param string $locale
# * @param string $group
# * @param string|null $namespace
# * @return array'
- name: addNamespace
visibility: public
parameters:
- name: namespace
- name: hint
comment: '# * Add a new namespace to the loader.
# *
# * @param string $namespace
# * @param string $hint
# * @return void'
- name: addJsonPath
visibility: public
parameters:
- name: path
comment: '# * Add a new JSON path to the loader.
# *
# * @param string $path
# * @return void'
- name: namespaces
visibility: public
parameters: []
comment: '# * Get an array of all the registered namespaces.
# *
# * @return array'
traits: []
interfaces: []