public function collect(Request $request, Response $response, \Exception $exception = null) { $this->data['context'] = $this->manager->getContext(); $this->data['features'] = []; $this->data['feature_providers'] = []; foreach ($this->manager->getFeatureSet()->getAllCanonical() as $name => $feature) { $this->data['features'][$name] = $feature->getStatus(); $this->data['feature_providers'][$name] = $feature->getProvider()->getName(); } }