Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | abstract class _TranslateHandler |
||
15 | { |
||
16 | protected $container ; |
||
17 | protected $local; |
||
18 | |||
19 | function __construct(ContainerInterface $container) |
||
20 | { |
||
21 | $this->container = $container; |
||
22 | } |
||
23 | |||
24 | public function __get($property) |
||
28 | } |
||
29 | } |
||
30 | |||
31 | |||
32 | /** |
||
33 | * Get Slim Container |
||
34 | * |
||
35 | * @return ContainerInterface |
||
36 | */ |
||
37 | protected function getContainer() |
||
40 | } |
||
41 | |||
42 | abstract public function trans(string $key , array $replace); |
||
43 | } |