| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function create(string $columnName, string $typeName, RowData $data, array $options): CellInterface |
||
| 22 | { |
||
| 23 | $resolver = new OptionsResolver(); |
||
| 24 | $resolver->setDefault('column_name', $columnName); |
||
| 25 | $type = $this->registry->get($typeName); |
||
| 26 | $type->configureOptions($resolver); |
||
| 27 | |||
| 28 | $options = $resolver->resolve($options); |
||
| 29 | |||
| 30 | return $type->createCell($data, $options); |
||
| 31 | } |
||
| 32 | } |
||
| 33 |