getIdentifier(); } public function getAttributes($route, ContextInterface $context): iterable { return [ 'methods' => $route->getMethods(), 'name' => $route->getName(), 'pattern' => $route->getPattern(), ]; } public function getRelationships($user, ContextInterface $context): iterable { return []; } /** * @inheritdoc */ public function getLinks($resource): iterable { return []; } }