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