* my_role_declaration: * # ... * tags: * - { name: chill.role } * */ interface ProvideRoleInterface { /** * Return an array of role provided by the object. * * @return string[] array of roles (as string) */ public function getRoles(): array; /** * Return roles which doesn't need. * * @return string[] array of roles without scopes */ public function getRolesWithoutScope(): array; }