private function getRefererId() { if (null === $this->request) { return null; } return $this->request->attributes->get('_contao_referer_id', ''); }