1 | <?php |
||
7 | class ModelsResolver |
||
8 | { |
||
9 | /** |
||
10 | * @var Repository |
||
11 | */ |
||
12 | protected $settings; |
||
13 | |||
14 | /** |
||
15 | * ModelsResolver constructor. |
||
16 | * |
||
17 | * @param Repository $settings |
||
18 | */ |
||
19 | public function __construct(Repository $settings) |
||
23 | |||
24 | /** |
||
25 | * Get the Field model name. |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function field(): string |
||
33 | |||
34 | /** |
||
35 | * Get the FieldValue model name. |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | public function fieldValue(): string |
||
43 | |||
44 | /** |
||
45 | * Get the polymorphic relation name. |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function morphName(): string |
||
53 | } |
||
54 |