| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class LookupDataSource implements DataSourceInterface |
||
| 7 | { |
||
| 8 | protected string $lookupName; |
||
| 9 | |||
| 10 | 3 | public function __construct(string $lookupName) |
|
| 13 | } |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Return the LookupDataSource so that it can be used in a druid query. |
||
| 17 | * |
||
| 18 | * @return array<string,string> |
||
| 19 | */ |
||
| 20 | 1 | public function toArray(): array |
|
| 27 | } |