Файл: Neiron/Kernel/Debug.php
Строк: 20
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
namespace NeironKernel;
/**
* Description of Debug
*
* @author KpuTuK
*/
class Debug
{
private $data = array();
public function __construct()
{
;
}
public function create($trace = null)
{
if ($trace === null) {
$trace = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT);
array_shift($trace);
}
foreach ($trace as $var) {
var_dump($var);
}
}
}