JsonapiServiceProvider
class JsonapiServiceProvider implements ServiceModifierInterface, ServiceProviderInterface (View source)
| internal | JSON:API maintains no PHP API since its API is the HTTP API. This class may change at any time and this will break any dependencies on it. |
Adds 'api_json' as known format and prevents its use in the REST module.
Methods
Details
alter(ContainerBuilder $container)
Modifies existing service definitions.
register(ContainerBuilder $container)
Registers services to the container.