api/laravel/Support/Traits/Localizable.yaml

26 lines
454 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: Localizable
class_comment: null
dependencies:
- name: Container
type: class
source: Illuminate\Container\Container
properties: []
methods:
- name: withLocale
visibility: public
parameters:
- name: locale
- name: callback
comment: '# * Run the callback with the given locale.
# *
# * @param string $locale
# * @param \Closure $callback
# * @return mixed'
traits:
- Illuminate\Container\Container
interfaces: []