App.php
1 month ago
Artisan.php
1 month ago
Auth.php
1 month ago
Blade.php
1 month ago
Broadcast.php
1 month ago
Bus.php
1 month ago
Cache.php
1 month ago
Config.php
1 month ago
Cookie.php
1 month ago
Crypt.php
1 month ago
DB.php
1 month ago
Date.php
1 month ago
Event.php
1 month ago
Facade.php
1 month ago
File.php
1 month ago
Gate.php
1 month ago
Hash.php
1 month ago
Http.php
1 month ago
Lang.php
1 month ago
Log.php
1 month ago
Mail.php
1 month ago
Notification.php
1 month ago
ParallelTesting.php
1 month ago
Password.php
1 month ago
Queue.php
1 month ago
RateLimiter.php
1 month ago
Redirect.php
1 month ago
Redis.php
1 month ago
Request.php
1 month ago
Response.php
1 month ago
Route.php
1 month ago
Schema.php
1 month ago
Session.php
1 month ago
Storage.php
1 month ago
URL.php
1 month ago
Validator.php
1 month ago
View.php
1 month ago
Vite.php
1 month ago
Lang.php
48 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static bool hasForLocale(string $key, string|null $locale = null) |
| 7 | * @method static bool has(string $key, string|null $locale = null, bool $fallback = true) |
| 8 | * @method static string|array get(string $key, array $replace = [], string|null $locale = null, bool $fallback = true) |
| 9 | * @method static string choice(string $key, \Countable|int|array $number, array $replace = [], string|null $locale = null) |
| 10 | * @method static void addLines(array $lines, string $locale, string $namespace = '*') |
| 11 | * @method static void load(string $namespace, string $group, string $locale) |
| 12 | * @method static void addNamespace(string $namespace, string $hint) |
| 13 | * @method static void addJsonPath(string $path) |
| 14 | * @method static array parseKey(string $key) |
| 15 | * @method static void determineLocalesUsing(callable $callback) |
| 16 | * @method static \Illuminate\Translation\MessageSelector getSelector() |
| 17 | * @method static void setSelector(\Illuminate\Translation\MessageSelector $selector) |
| 18 | * @method static \Illuminate\Contracts\Translation\Loader getLoader() |
| 19 | * @method static string locale() |
| 20 | * @method static string getLocale() |
| 21 | * @method static void setLocale(string $locale) |
| 22 | * @method static string getFallback() |
| 23 | * @method static void setFallback(string $fallback) |
| 24 | * @method static void setLoaded(array $loaded) |
| 25 | * @method static void stringable(callable|string $class, callable|null $handler = null) |
| 26 | * @method static void setParsedKey(string $key, array $parsed) |
| 27 | * @method static void flushParsedKeys() |
| 28 | * @method static void macro(string $name, object|callable $macro) |
| 29 | * @method static void mixin(object $mixin, bool $replace = true) |
| 30 | * @method static bool hasMacro(string $name) |
| 31 | * @method static void flushMacros() |
| 32 | * |
| 33 | * @see \Illuminate\Translation\Translator |
| 34 | * @internal |
| 35 | */ |
| 36 | class Lang extends Facade |
| 37 | { |
| 38 | /** |
| 39 | * Get the registered name of the component. |
| 40 | * |
| 41 | * @return string |
| 42 | */ |
| 43 | protected static function getFacadeAccessor() |
| 44 | { |
| 45 | return 'translator'; |
| 46 | } |
| 47 | } |
| 48 |