Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X Lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
XLibs
X Lib
Commits
07021a7c
Commit
07021a7c
authored
Jun 26, 2016
by
Alex Ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add __debugInfo()
parent
02c2e0c6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
EItem.php
ETrace/EItem.php
+8
-0
No files found.
ETrace/EItem.php
View file @
07021a7c
...
@@ -28,6 +28,9 @@ class EItem extends \Exception
...
@@ -28,6 +28,9 @@ class EItem extends \Exception
* @param int $line [= false]
* @param int $line [= false]
* @param array $context [= []]
* @param array $context [= []]
*/
*/
/**
* @return mixed
*/
public
function
__construct
(
$type
,
$message
,
$code
=
0
,
$file
=
false
,
$line
=
false
,
$context
=
[])
public
function
__construct
(
$type
,
$message
,
$code
=
0
,
$file
=
false
,
$line
=
false
,
$context
=
[])
{
{
parent
::
__construct
(
$message
,
$code
);
parent
::
__construct
(
$message
,
$code
);
...
@@ -45,6 +48,11 @@ class EItem extends \Exception
...
@@ -45,6 +48,11 @@ class EItem extends \Exception
$this
->
hash
=
$this
->
calcHash
();
$this
->
hash
=
$this
->
calcHash
();
}
}
public
function
__debugInfo
()
{
return
$this
->
Model
();
}
/**
/**
* @return mixed
* @return mixed
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment