21
요청 매개 변수 값을 수정할 수 있는지 알고 싶습니다.요청 매개 변수 값 수정
하지만 어떻게해야할지 모르겠다.
은 내가
$request->request->replace()
를 사용
$requestContent = $this->getRequest()->request->get('tactill_customerbundle_customertype');
다음과 시도하지만 내 경우에이 방법을 사용하지 않는 방법에 대해 설명합니다. 당신은 아마 그렇게하고 싶지 않아 그래서
감사
는
'''replace()'''': 사용 : '''$ all = $ request-> request-> all(); $ [tactill_customerbundle_customertype '] = $ newValue; $ request-> request-> replace ($ all);''''이것은 배열 매개 변수 수정을 허용합니다. –