@@ -74,6 +74,9 @@ |
||
| 74 | 74 | $this->container->get('config'); |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | + /** |
|
| 78 | + * @param string $id |
|
| 79 | + */ |
|
| 77 | 80 | public function get($id) { |
| 78 | 81 | return $this->container->get($id); |
| 79 | 82 | } |
@@ -32,6 +32,9 @@ |
||
| 32 | 32 | }; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | +/** |
|
| 36 | + * @param \Closure $include |
|
| 37 | + */ |
|
| 35 | 38 | function validatePathInclude($include, $file_exists = 'file_exists') { |
| 36 | 39 | return function($path, array $vars) use ($include, $file_exists) { |
| 37 | 40 | if (!$file_exists($path)) { |