| Total Complexity | 4 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class ReadModelField |
||
| 8 | { |
||
| 9 | private $id; |
||
| 10 | public function getId() { return $this->id; } |
||
| 11 | |||
| 12 | private $dataType; |
||
| 13 | public function getDataType() { return $this->dataType; } |
||
| 14 | |||
| 15 | private $index; |
||
| 16 | public function useIndex() { return $this->index; } |
||
| 17 | |||
| 18 | public function __construct($id, FieldDataType $dataType, $index = false) |
||
| 25 |