| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | trait GetSetSearchIntrospectionTrait |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var BaseIndex |
||
| 12 | */ |
||
| 13 | protected $index; |
||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $found = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return BaseIndex |
||
| 21 | */ |
||
| 22 | public function getIndex(): BaseIndex |
||
| 23 | { |
||
| 24 | return $this->index; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param mixed $index |
||
| 29 | * @return $this |
||
| 30 | */ |
||
| 31 | public function setIndex($index) |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return array |
||
| 40 | */ |
||
| 41 | public function getFound(): array |
||
| 46 |