1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,34 +0,0 @@ |
1 |
-<?php declare(strict_types=1); |
|
2 |
-/** |
|
3 |
- * Part of Windwalker project. |
|
4 |
- * |
|
5 |
- * @copyright Copyright (C) 2019 LYRASOFT. |
|
6 |
- * @license LGPL-2.0-or-later |
|
7 |
- */ |
|
8 |
- |
|
9 |
-namespace Windwalker\Renderer; |
|
10 |
- |
|
11 |
-/** |
|
12 |
- * Interface RendererInterface |
|
13 |
- */ |
|
14 |
-interface RendererInterface |
|
15 |
-{ |
|
16 |
- /** |
|
17 |
- * render |
|
18 |
- * |
|
19 |
- * @param string $file |
|
20 |
- * @param array $data |
|
21 |
- * |
|
22 |
- * @return string |
|
23 |
- */ |
|
24 |
- public function render($file, $data = []); |
|
25 |
- |
|
26 |
- /** |
|
27 |
- * Method to escape output. |
|
28 |
- * |
|
29 |
- * @param string $output The output to escape. |
|
30 |
- * |
|
31 |
- * @return string The escaped output. |
|
32 |
- */ |
|
33 |
- public function escape($output); |
|
34 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,34 @@ |
1 |
+<?php declare(strict_types=1); |
|
2 |
+/** |
|
3 |
+ * Part of Windwalker project. |
|
4 |
+ * |
|
5 |
+ * @copyright Copyright (C) 2019 LYRASOFT. |
|
6 |
+ * @license LGPL-2.0-or-later |
|
7 |
+ */ |
|
8 |
+ |
|
9 |
+namespace Windwalker\Renderer; |
|
10 |
+ |
|
11 |
+/** |
|
12 |
+ * Interface RendererInterface |
|
13 |
+ */ |
|
14 |
+interface RendererInterface |
|
15 |
+{ |
|
16 |
+ /** |
|
17 |
+ * render |
|
18 |
+ * |
|
19 |
+ * @param string $file |
|
20 |
+ * @param array $data |
|
21 |
+ * |
|
22 |
+ * @return string |
|
23 |
+ */ |
|
24 |
+ public function render($file, $data = []); |
|
25 |
+ |
|
26 |
+ /** |
|
27 |
+ * Method to escape output. |
|
28 |
+ * |
|
29 |
+ * @param string $output The output to escape. |
|
30 |
+ * |
|
31 |
+ * @return string The escaped output. |
|
32 |
+ */ |
|
33 |
+ public function escape($output); |
|
34 |
+} |