NilPortugues\Symfony\JsonApiBundle\Serializer\JsonApiResponseTrait::createResponse PHP 메소드

createResponse() 개인적인 메소드

private createResponse ( $data ) : Response
$data
리턴 Symfony\Component\HttpFoundation\Response
    private function createResponse($data)
    {
        return (new HttpFoundationFactory())->createResponse($this->addHeaders($data));
    }