Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | trait MetafieldTrait { |
||
16 | |||
17 | /** |
||
18 | * @return string |
||
19 | */ |
||
20 | protected function _metafieldType (): string { |
||
21 | return static::TYPE; |
||
|
|||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return Metafield[] |
||
26 | */ |
||
27 | public function getMetafields () { |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Factory. |
||
42 | * |
||
43 | * @return Metafield |
||
44 | */ |
||
45 | public function newMetafield () { |
||
54 | } |