Cli
2 months ago
Exceptions
2 months ago
Lang
2 months ago
Laravel
2 months ago
List
2 months ago
MessageFormatter
2 months ago
PHPStan
2 months ago
Traits
2 months ago
AbstractTranslator.php
2 months ago
Carbon.php
2 months ago
CarbonConverterInterface.php
2 months ago
CarbonImmutable.php
2 months ago
CarbonInterface.php
2 months ago
CarbonInterval.php
2 months ago
CarbonPeriod.php
2 months ago
CarbonPeriodImmutable.php
2 months ago
CarbonTimeZone.php
2 months ago
Factory.php
2 months ago
FactoryImmutable.php
2 months ago
Language.php
2 months ago
Translator.php
2 months ago
TranslatorImmutable.php
2 months ago
TranslatorStrongTypeInterface.php
2 months ago
Translator.php
22 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 ProfilePressVendor\Carbon; |
| 12 | |
| 13 | use ReflectionMethod; |
| 14 | use ProfilePressVendor\Symfony\Component\Translation; |
| 15 | use ProfilePressVendor\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 | class Translator extends LazyTranslator |
| 19 | { |
| 20 | // Proxy dynamically loaded LazyTranslator in a static way |
| 21 | } |
| 22 |