| Total Complexity | 5 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 17 | class IndexingHelper |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Get the indexable fields for a given dataobject as an array |
||
| 21 | * |
||
| 22 | * @param \SilverStripe\ORM\DataObject $dataObject get the indexable fields for the provided data object |
||
| 23 | * @return array<string> |
||
| 24 | */ |
||
| 25 | public function getFieldsToIndex(DataObject $dataObject): array |
||
| 58 |