| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function collect(Request $request, Response $response, \Exception $exception = null) |
||
| 34 | { |
||
| 35 | $data = []; |
||
| 36 | |||
| 37 | /** @var AdminResource $resource */ |
||
| 38 | foreach ($this->resourceCollection->all() as $resource) { |
||
| 39 | $data[$resource->getName()] = [ |
||
| 40 | 'entity_class' => $resource->getEntityClass(), |
||
| 41 | 'configuration' => $resource->getConfiguration(), |
||
| 42 | ]; |
||
| 43 | } |
||
| 44 | $this->data = $data; |
||
| 45 | } |
||
| 46 | |||
| 62 |