| 1 | <?php |
||
| 7 | abstract class TemplatableField extends Field |
||
| 8 | { |
||
| 9 | /** @var string */ |
||
| 10 | protected $templateKey; |
||
| 11 | |||
| 12 | /** @var \Illuminate\Contracts\Translation\Translator */ |
||
| 13 | protected $translator; |
||
| 14 | |||
| 15 | 12 | public function __construct($value, $model, string $templateKey = '') |
|
| 22 | |||
| 23 | 12 | protected function parseValue($value): string |
|
| 37 | |||
| 38 | 12 | protected function getTemplatePath(string $templateKey): string |
|
| 44 | |||
| 45 | 6 | protected function getNestingLevel(): string |
|
| 49 | } |
||
| 50 |