Exceptions
3 years ago
Lang
3 years ago
List
3 years ago
Traits
3 years ago
AbstractTranslator.php
3 years ago
Carbon.php
4 years ago
CarbonConverterInterface.php
4 years ago
CarbonImmutable.php
4 years ago
CarbonInterface.php
3 years ago
CarbonInterval.php
3 years ago
CarbonPeriod.php
3 years ago
CarbonTimeZone.php
3 years ago
Factory.php
4 years ago
FactoryImmutable.php
4 years ago
Language.php
4 years ago
Translator.php
4 years ago
TranslatorImmutable.php
4 years ago
TranslatorStrongTypeInterface.php
4 years ago
index.php
3 years ago
Translator.php
13 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Carbon; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use ReflectionMethod; |
| 5 | use MailPoetVendor\Symfony\Component\Translation; |
| 6 | use MailPoetVendor\Symfony\Contracts\Translation\TranslatorInterface; |
| 7 | $transMethod = new ReflectionMethod(\class_exists(TranslatorInterface::class) ? TranslatorInterface::class : Translation\Translator::class, 'trans'); |
| 8 | require $transMethod->hasReturnType() ? __DIR__ . '/../../lazy/Carbon/TranslatorStrongType.php' : __DIR__ . '/../../lazy/Carbon/TranslatorWeakType.php'; |
| 9 | class Translator extends LazyTranslator |
| 10 | { |
| 11 | // Proxy dynamically loaded LazyTranslator in a static way |
| 12 | } |
| 13 |