| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function current(): ViewInterface |
||
| 33 | { |
||
| 34 | $columnMetadata = current($this->columnMetadatas); |
||
| 35 | |||
| 36 | return $this->viewFactory->create( |
||
| 37 | $columnMetadata->getType(), |
||
| 38 | $this->data, |
||
| 39 | array_merge([ |
||
| 40 | 'column_name' => $this->key(), |
||
| 41 | ], $columnMetadata->getOptions()) |
||
| 42 | ); |
||
| 43 | } |
||
| 44 | |||
| 65 |