BackedEnumValueResolver
class BackedEnumValueResolver implementsValueResolverInterface
Attempt to resolve backed enum cases from request attributes, for a route path parameter, leading to a 404 Not Found if the attribute value isn't a valid backing value for the enum type.
Methods
iterable
resolve(Request$request,ArgumentMetadata$argument)
Returns the possible value(s).