31 lines
796 B
YAML
31 lines
796 B
YAML
name: ManagesTranslations
|
|
class_comment: null
|
|
dependencies: []
|
|
properties:
|
|
- name: translationReplacements
|
|
visibility: protected
|
|
comment: '# * The translation replacements for the translation being rendered.
|
|
|
|
# *
|
|
|
|
# * @var array'
|
|
methods:
|
|
- name: startTranslation
|
|
visibility: public
|
|
parameters:
|
|
- name: replacements
|
|
default: '[]'
|
|
comment: "# * The translation replacements for the translation being rendered.\n\
|
|
# *\n# * @var array\n# */\n# protected $translationReplacements = [];\n# \n# /**\n\
|
|
# * Start a translation block.\n# *\n# * @param array $replacements\n# * @return\
|
|
\ void"
|
|
- name: renderTranslation
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Render the current translation.
|
|
|
|
# *
|
|
|
|
# * @return string'
|
|
traits: []
|
|
interfaces: []
|