symfony/http-kernel
particleProvides a structured process for converting a Request into a Response
Provides a structured process for converting a Request into a Response
The ErrorHandler component provides tools to manage errors and ease debugging PHP code. use SymfonyComponentErrorHandlerDebug; use SymfonyComponentErrorHandlerErrorHandler; use SymfonyComponentErrorHandlerDebugClassLoader; Debug::enable(); // or enable only one feature //ErrorHandler::register(); //DebugClassLoader::enable(); // If you want a custom generic template when debug is not enabled // HtmlErrorRenderer::setTemplate(‘/path/to/custom/error.html.php’); $data = ErrorHandler::call(static function () use ($filename, $datetimeFormat) { // if any […]