File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
+ namespace ChromePHP ;
19
+
20
+ use ReflectionClass ;
21
+ use ReflectionProperty ;
22
+
18
23
/**
19
24
* Server Side Chrome PHP debugger class
20
25
*
21
26
* @package ChromePhp
22
27
* @author Craig Campbell <[email protected] >
23
28
*/
24
- class ChromePhp
29
+ class ChromePHP
25
30
{
26
31
/**
27
32
* @var string
@@ -115,7 +120,7 @@ class ChromePhp
115
120
);
116
121
117
122
/**
118
- * @var ChromePhp
123
+ * @var ChromePHP
119
124
*/
120
125
protected static $ _instance ;
121
126
@@ -138,7 +143,7 @@ private function __construct()
138
143
/**
139
144
* gets instance of this class
140
145
*
141
- * @return ChromePhp
146
+ * @return ChromePHP
142
147
*/
143
148
public static function getInstance ()
144
149
{
@@ -244,7 +249,7 @@ public static function table()
244
249
* internal logging call
245
250
*
246
251
* @param string $type
247
- * @return ChromePhp
252
+ * @return ChromePHP
248
253
*/
249
254
protected static function _log ($ type , array $ args )
250
255
{
@@ -330,7 +335,7 @@ protected function _convert($object)
330
335
/**
331
336
* takes a reflection property and returns a nicely formatted key of the property name
332
337
*
333
- * @param ReflectionProperty
338
+ * @param ReflectionProperty $property
334
339
* @return string
335
340
*/
336
341
protected function _getPropertyKey (ReflectionProperty $ property )
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " ccampbell /chromephp" ,
2
+ "name" : " phpexpertsinc /chromephp" ,
3
3
"type" : " library" ,
4
4
"description" : " Log variables to the Chrome console (via Chrome Logger Google Chrome extension)." ,
5
5
"keywords" : [" log" ," logging" ],
11
11
12
12
"homepage" : " http://craig.is" ,
13
13
"role" : " Developer"
14
+ },
15
+ {
16
+ "name" : " Theodore R. Smith" ,
17
+
18
+ "homepage" : " https://www.linkedin.com/in/tedrsmith"
14
19
}
15
20
],
16
21
"require" : {
17
22
"php" : " >=7.0"
18
23
},
19
24
"autoload" : {
20
- "psr-0 " : {
21
- "ChromePhp " : " "
25
+ "psr-4 " : {
26
+ "ChromePHP \\ " : " "
22
27
}
23
28
}
24
29
}
You can’t perform that action at this time.
0 commit comments