@@ -32,7 +32,7 @@ public function __construct($object)
32
32
public function __call ($ name , array $ arguments )
33
33
{
34
34
if (!method_exists ($ this ->object , $ name )) {
35
- throw new \LogicException (sprintf ('Cannot call non existing method %s->%s. ' , get_class ($ this ->object ), $ name ));
35
+ throw new \LogicException (sprintf ('Cannot call non existing method %s->%s. ' , \ get_class ($ this ->object ), $ name ));
36
36
}
37
37
38
38
$ method = $ this ->reflection ->getMethod ($ name );
@@ -55,7 +55,7 @@ public function __isset($name)
55
55
public function __get ($ name )
56
56
{
57
57
if (!property_exists ($ this ->object , $ name )) {
58
- throw new \LogicException (sprintf ('Cannot get non existing property %s->%s. ' , get_class ($ this ->object ), $ name ));
58
+ throw new \LogicException (sprintf ('Cannot get non existing property %s->%s. ' , \ get_class ($ this ->object ), $ name ));
59
59
}
60
60
61
61
$ property = $ this ->reflection ->getProperty ($ name );
@@ -67,7 +67,7 @@ public function __get($name)
67
67
public function __set ($ name , $ value )
68
68
{
69
69
if (!property_exists ($ this ->object , $ name )) {
70
- throw new \LogicException (sprintf ('Cannot set non existing property %s->%s = %s. ' , get_class ($ this ->object ), $ name , var_export ($ value , true )));
70
+ throw new \LogicException (sprintf ('Cannot set non existing property %s->%s = %s. ' , \ get_class ($ this ->object ), $ name , var_export ($ value , true )));
71
71
}
72
72
73
73
$ property = $ this ->reflection ->getProperty ($ name );
0 commit comments