| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class FeatureStackedItemFactory extends AbstractFeatureItemFactory |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @inheritdoc |
||
| 12 | */ |
||
| 13 | public function create(?array $ops = null): FeatureStackedItem |
||
| 14 | { |
||
| 15 | $component = new FeatureStackedItem(); |
||
| 16 | $this->init($component, $ops); |
||
| 17 | $this->validate($component); |
||
| 18 | return $component; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @inheritdoc |
||
| 23 | */ |
||
| 24 | public static function defaultOps(): array |
||
| 33 | ] |
||
| 34 | ); |
||
| 37 |