Cli
2 years ago
Exceptions
1 month ago
Lang
2 years ago
Laravel
2 years ago
List
2 years ago
MessageFormatter
2 years ago
PHPStan
2 years ago
Traits
1 month ago
AbstractTranslator.php
1 month ago
Carbon.php
2 years ago
CarbonConverterInterface.php
2 years ago
CarbonImmutable.php
2 years ago
CarbonInterface.php
1 month ago
CarbonInterval.php
2 years ago
CarbonPeriod.php
1 month ago
CarbonPeriodImmutable.php
2 years ago
CarbonTimeZone.php
1 month ago
Factory.php
1 month ago
FactoryImmutable.php
2 years ago
Language.php
2 years ago
Translator.php
2 years ago
TranslatorImmutable.php
1 month ago
TranslatorStrongTypeInterface.php
2 years ago
Translator.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This file is part of the Carbon package. |
| 5 | * |
| 6 | * (c) Brian Nesbitt <brian@nesbot.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace IAWPSCOPED\Carbon; |
| 12 | |
| 13 | use ReflectionMethod; |
| 14 | use IAWPSCOPED\Symfony\Component\Translation; |
| 15 | use IAWPSCOPED\Symfony\Contracts\Translation\TranslatorInterface; |
| 16 | $transMethod = new ReflectionMethod(\class_exists(TranslatorInterface::class) ? TranslatorInterface::class : Translation\Translator::class, 'trans'); |
| 17 | require $transMethod->hasReturnType() ? __DIR__ . '/../../lazy/Carbon/TranslatorStrongType.php' : __DIR__ . '/../../lazy/Carbon/TranslatorWeakType.php'; |
| 18 | /** @internal */ |
| 19 | class Translator extends LazyTranslator |
| 20 | { |
| 21 | // Proxy dynamically loaded LazyTranslator in a static way |
| 22 | } |
| 23 |