protected function putToPost(): void
    {
        $request = $this->requestStack->getCurrentRequest();
        $put = $request->getContent();
        parse_str($put, $_POST);

        $_SERVER['REQUEST_METHOD'] = 'POST';
    }
protected function putToPost(): void
    {
        $request = $this->requestStack->getCurrentRequest();
        $put = $request->getContent();
        parse_str($put, $_POST);

        $_SERVER['REQUEST_METHOD'] = 'POST';
    }
protected function putToPost ( ) : void { $ request = $ this -> requestStack -> getCurrentRequest ( ) ; $ put = $ request -> getContent ( ) ; parse_str ( $ put , $ _POST ) ; $ _SERVER [ 'REQUEST_METHOD' ] = 'POST' ; }
Symfony doesn't know how to handle put.
Transform put data to POST.
Symfony doesn t know how to handle put . Transform put data to POST .