PHP Class ApiPlatform\Core\Util\RequestAttributesExtractor

Author: Kévin Dunglas ([email protected])
Afficher le fichier Open project: api-platform/core Class Usage Examples

Méthodes publiques

Méthode Description
extractAttributes ( Request $request ) : array Extracts resource class, operation name and format request attributes. Throws an exception if the request does not contain required attributes.

Private Methods

Méthode Description
__construct ( )

Method Details

extractAttributes() public static méthode

Extracts resource class, operation name and format request attributes. Throws an exception if the request does not contain required attributes.
public static extractAttributes ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request
Résultat array