Extracts data used by the library form a Request instance.
class ApiPlatform\Util\RequestAttributesExtractor
{
public extractAttributes(Symfony\Component\HttpFoundation\Request $request): array
}
Extracts resource class, operation name and format request attributes. Returns an empty array if the request does not contain required attributes.
public extractAttributes(Symfony\Component\HttpFoundation\Request $request): array
request | Symfony\Component\HttpFoundation\Request |
array
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more