PHP Interface ApiPlatform\Core\Serializer\SerializerContextBuilderInterface

Author: Kévin Dunglas ([email protected])
显示文件 Open project: api-platform/core

Public Methods

Method Description
createFromRequest ( Request $request, boolean $normalization, array $extractedAttributes = null ) : array Creates a serialization context from a Request.

Method Details

createFromRequest() public method

Creates a serialization context from a Request.
public createFromRequest ( Request $request, boolean $normalization, array $extractedAttributes = null ) : array
$request Symfony\Component\HttpFoundation\Request
$normalization boolean
$extractedAttributes array
return array