Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class Translatable |
||
9 | { |
||
10 | use RendersTranslatableElement; |
||
11 | |||
12 | protected $field; |
||
13 | |||
14 | /** |
||
15 | * Translatable constructor. |
||
16 | * |
||
17 | * @param Generic $field |
||
18 | */ |
||
19 | public function __construct(Generic $field) |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Proxy field methods calls. |
||
26 | * |
||
27 | * @param $method |
||
28 | * @param $args |
||
29 | */ |
||
30 | public function __call($method, $args) |
||
37 | } |
||
38 | } |