References RequestAttributesExtractor
Reference
C
Class

ApiPlatform\Util\RequestAttributesExtractor

Extracts data used by the library form a Request instance.

class ApiPlatform\Util\RequestAttributesExtractor
{
    public extractAttributes(Symfony\Component\HttpFoundation\Request $request): array
}

Methods

extractAttributes

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

Parameters

requestSymfony\Component\HttpFoundation\Request

Returns

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

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop