0
fosrestbundle/Controller/ExceptionControllerを無効にする必要があります。symfony how override fosrestbundle
class ExceptionApiController extends ExceptionController
{
public function showAction(Request $request, $exception, DebugLoggerInterface $logger = null)
{
$response = parent::showAction();
}
}
しかし、どのように使用$応答: は、そのために私は、コントローラを作成していますか?これにどのように価値を加えるか?
ありがとう – Ygg69