loadProfile($value); if (NULL === $profile) { return NULL; } return $profile; } /** * {@inheritdoc} */ public function applies($definition, $name, Route $route) { if (!empty($definition['type']) && $definition['type'] === 'webprofiler:token') { return TRUE; } return FALSE; } }