| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 86.67% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class FeatureColumnsFactory extends AbstractComponentFactory |
||
| 11 | { |
||
| 12 | /** @var FeatureColumnsItemFactory */ |
||
| 13 | private $featureColumnsItemFactory; |
||
| 14 | |||
| 15 | 3 | public function __construct(ObjectManager $manager, ValidatorInterface $validator, FeatureColumnsItemFactory $featureColumnsItemFactory) |
|
| 19 | 3 | } |
|
| 20 | |||
| 21 | public function getItemFactory() |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @inheritdoc |
||
| 28 | */ |
||
| 29 | 2 | public function create(?array $ops = null): FeatureColumns |
|
| 30 | { |
||
| 31 | 2 | $component = new FeatureColumns(); |
|
| 32 | 2 | $this->init($component, $ops); |
|
| 33 | 2 | $this->validate($component); |
|
| 34 | 2 | return $component; |
|
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritdoc |
||
| 39 | */ |
||
| 40 | 3 | public static function defaultOps(): array |
|
| 46 | ] |
||
| 47 | ); |
||
| 50 |