File tree Expand file tree Collapse file tree 1 file changed +77
-0
lines changed
Expand file tree Collapse file tree 1 file changed +77
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Sanovskiy \Utility ;
4+
5+ class VoidObject
6+ {
7+ /**
8+ * @param $name
9+ * @param $arguments
10+ * @return bool
11+ */
12+ public static function __callStatic ($ name , $ arguments )
13+ {
14+ return true ;
15+ }
16+
17+ /**
18+ * @return self
19+ */
20+ public function __invoke ()
21+ {
22+ return $ this ;
23+ }
24+
25+ /**
26+ * @param $name
27+ */
28+ public function __unset ($ name )
29+ {
30+ }
31+
32+ /**
33+ * @return string
34+ */
35+ public function __toString ()
36+ {
37+ return '' ;
38+ }
39+
40+ /**
41+ * @param $name
42+ * @param $arguments
43+ * @return $this
44+ */
45+ public function __call ($ name , $ arguments )
46+ {
47+ return $ this ;
48+ }
49+
50+ /**
51+ * @param $name
52+ * @return $this
53+ */
54+ public function __get ($ name )
55+ {
56+ return $ this ;
57+ }
58+
59+ /**
60+ * @param $name
61+ * @param $value
62+ * @return mixed
63+ */
64+ public function __set ($ name , $ value )
65+ {
66+ return $ value ;
67+ }
68+
69+ /**
70+ * @param $name
71+ * @return bool
72+ */
73+ public function __isset ($ name )
74+ {
75+ return true ;
76+ }
77+ }
You can’t perform that action at this time.
0 commit comments