Due to PHP Bug #53727, is_subclass_of might return inconsistent results on some PHP versions if \Elao\Enum\EnumInterface::class can be an interface. If so, you could instead use ReflectionClass::implementsInterface.
Loading history...
27
}
28
29
/**
30
* {@inheritdoc}
31
*/
32
public function resolve(Request $request, ArgumentMetadata $argument)