Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
2 contributors

Users who have contributed to this file

@mpociot @freekmurze
25 lines (18 sloc) 554 Bytes
<?php
if (! function_exists('ddd')) {
function ddd()
{
$args = func_get_args();
call_user_func_array('dump', $args);
$handler = app(\Facade\Ignition\ErrorPage\ErrorPageHandler::class);
$client = app()->make('flare.client');
$report = $client->createReportFromMessage('Dump, Die, Debug', 'info');
$handler->handleReport($report, 'DebugTab', [
'dump' => true,
'glow' => false,
'log' => false,
'query' => false,
]);
die();
}
}
You can’t perform that action at this time.