public function collect(Request $request, Response $response, \Exception $exception = null) { $this->data = ['siteAccess' => $request->attributes->get('siteaccess')]; }