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