class RouteEnhancer implements EnhancerInterface (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.
 

Ensures the loaded entity matches the requested resource type.

Methods

enhance(array $defaults, Request $request)

{@inheritdoc}

Details

enhance(array $defaults, Request $request)

{@inheritdoc}

Parameters

array $defaults
Request $request