ValidateFieldsSubscriber
class ValidateFieldsSubscriber extends AbstractPrepareSubscriber
Validate field inputs based on annotations in the action class
Methods
static bool
checkType($value, $types)
Validate variable type on input
Details
in AbstractPrepareSubscriber at line 49
static array
getSubscribedEvents()
at line 41
onApiPrepare(PrepareEvent $event)
at line 68
static bool
checkType($value, $types)
Validate variable type on input