Commit 07021a7c authored by Alex Ne's avatar Alex Ne

Add __debugInfo()

parent 02c2e0c6
......@@ -28,6 +28,9 @@ class EItem extends \Exception
* @param int $line [= false]
* @param array $context [= []]
*/
/**
* @return mixed
*/
public function __construct($type, $message, $code = 0, $file = false, $line = false, $context = [])
{
parent::__construct($message, $code);
......@@ -45,6 +48,11 @@ class EItem extends \Exception
$this->hash = $this->calcHash();
}
public function __debugInfo()
{
return $this->Model();
}
/**
* @return mixed
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment