1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,43 +0,0 @@ |
1 |
-<?php declare(strict_types=1); |
|
2 |
-/** |
|
3 |
- * Part of Windwalker project. |
|
4 |
- * |
|
5 |
- * @copyright Copyright (C) 2019 LYRASOFT. |
|
6 |
- * @license GNU General Public License version 2 or later; |
|
7 |
- */ |
|
8 |
- |
|
9 |
-namespace Windwalker\Structure\Test\Stubs; |
|
10 |
- |
|
11 |
-/** |
|
12 |
- * The StubDumpable class. |
|
13 |
- * |
|
14 |
- * @since 2.1.1 |
|
15 |
- */ |
|
16 |
-class StubDumpable |
|
17 |
-{ |
|
18 |
- public $foo = 'foo'; |
|
19 |
- |
|
20 |
- protected $bar = 'bar'; |
|
21 |
- |
|
22 |
- private $yoo = 'yoo'; |
|
23 |
- |
|
24 |
- protected $data = []; |
|
25 |
- |
|
26 |
- protected $iterator; |
|
27 |
- |
|
28 |
- /** |
|
29 |
- * StubDumpable constructor. |
|
30 |
- * |
|
31 |
- * @param static $child |
|
32 |
- */ |
|
33 |
- public function __construct($child = null) |
|
34 |
- { |
|
35 |
- $this->iterator = new \ArrayIterator(['wind' => 'walker']); |
|
36 |
- |
|
37 |
- $this->data = [ |
|
38 |
- 'self' => $this, |
|
39 |
- 'new' => $child, |
|
40 |
- 'flower' => ['sakura', 'rose'], |
|
41 |
- ]; |
|
42 |
- } |
|
43 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,43 @@ |
1 |
+<?php declare(strict_types=1); |
|
2 |
+/** |
|
3 |
+ * Part of Windwalker project. |
|
4 |
+ * |
|
5 |
+ * @copyright Copyright (C) 2019 LYRASOFT. |
|
6 |
+ * @license GNU General Public License version 2 or later; |
|
7 |
+ */ |
|
8 |
+ |
|
9 |
+namespace Windwalker\Structure\Test\Stubs; |
|
10 |
+ |
|
11 |
+/** |
|
12 |
+ * The StubDumpable class. |
|
13 |
+ * |
|
14 |
+ * @since 2.1.1 |
|
15 |
+ */ |
|
16 |
+class StubDumpable |
|
17 |
+{ |
|
18 |
+ public $foo = 'foo'; |
|
19 |
+ |
|
20 |
+ protected $bar = 'bar'; |
|
21 |
+ |
|
22 |
+ private $yoo = 'yoo'; |
|
23 |
+ |
|
24 |
+ protected $data = []; |
|
25 |
+ |
|
26 |
+ protected $iterator; |
|
27 |
+ |
|
28 |
+ /** |
|
29 |
+ * StubDumpable constructor. |
|
30 |
+ * |
|
31 |
+ * @param static $child |
|
32 |
+ */ |
|
33 |
+ public function __construct($child = null) |
|
34 |
+ { |
|
35 |
+ $this->iterator = new \ArrayIterator(['wind' => 'walker']); |
|
36 |
+ |
|
37 |
+ $this->data = [ |
|
38 |
+ 'self' => $this, |
|
39 |
+ 'new' => $child, |
|
40 |
+ 'flower' => ['sakura', 'rose'], |
|
41 |
+ ]; |
|
42 |
+ } |
|
43 |
+} |