@@ -75,15 +75,28 @@ |
||
75 | 75 | $this->container->get('config'); |
76 | 76 | } |
77 | 77 | |
78 | + /** |
|
79 | + * @param string $id |
|
80 | + */ |
|
78 | 81 | public function get($id) { |
79 | 82 | return $this->container->get($id); |
80 | 83 | } |
81 | 84 | public function has($id) { |
82 | 85 | return $this->contianer->has($id); |
83 | 86 | } |
87 | + |
|
88 | + /** |
|
89 | + * @param string $id |
|
90 | + * @param \Closure $value |
|
91 | + */ |
|
84 | 92 | public function add($id, $value) { |
85 | 93 | $this->container->add($id, $value); |
86 | 94 | } |
95 | + |
|
96 | + /** |
|
97 | + * @param string $id |
|
98 | + * @param \Closure $wrapper |
|
99 | + */ |
|
87 | 100 | public function wrap($id, $wrapper) { |
88 | 101 | $this->container->wrap($id, $wrapper); |
89 | 102 | } |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace League\Plates\RenderTemplate; |
4 | 4 | |
5 | +use Exception; |
|
5 | 6 | use League\Plates; |
6 | 7 | use Throwable; |
7 | -use Exception; |
|
8 | 8 | |
9 | 9 | final class FileSystemRenderTemplate implements Plates\RenderTemplate |
10 | 10 | { |