APIv3SchemaAdapter
class APIv3SchemaAdapter implements EventSubscriberInterface
This class determines what fields are allowed for a request and validates that the fields are provided correctly.
Methods
static array
getSubscribedEvents()
No description
onApiPrepare( $event)
No description
onApiPrepare_validate( $event)
No description
array
getDefaults($fields)
Return array of defaults for the given API (function is a wrapper on getfields).
array
getRequired($fields)
Return array of required fields for the given API (function is a wrapper on getfields).
Details
at line 41
static array
getSubscribedEvents()
at line 56
onApiPrepare( $event)
at line 82
onApiPrepare_validate( $event)
at line 98
array
getDefaults($fields)
Return array of defaults for the given API (function is a wrapper on getfields).
at line 114
array
getRequired($fields)
Return array of required fields for the given API (function is a wrapper on getfields).