You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (class_exists('Symfony\Component\HttpFoundation\Response', false)
177
-
&& __CLASS__ !== get_class($this)
178
-
&& ($reflector = new \ReflectionMethod($this, 'createResponse'))
179
-
&& __CLASS__ !== $reflector->class
180
-
) {
181
-
$response = $this->createResponse($exception);
182
-
$response->sendHeaders();
183
-
$response->sendContent();
184
-
@trigger_error(sprintf("The %s::createResponse method is deprecated since 2.8 and won't be called anymore when handling an exception in 3.0.", $reflector->class), E_USER_DEPRECATED);
185
-
186
-
return;
187
-
}
188
-
189
-
$this->sendPhpResponse($exception);
190
-
}
191
-
192
164
/**
193
165
* Sends the error associated with the given Exception as a plain PHP response.
194
166
*
@@ -214,26 +186,6 @@ public function sendPhpResponse($exception)
0 commit comments