@@ -214,6 +214,9 @@ discard block |
||
| 214 | 214 | } |
| 215 | 215 | } |
| 216 | 216 | |
| 217 | + /** |
|
| 218 | + * @param string $service |
|
| 219 | + */ |
|
| 217 | 220 | public function setService($service, $class) |
| 218 | 221 | { |
| 219 | 222 | if($this->services === null) { |
@@ -225,6 +228,7 @@ discard block |
||
| 225 | 228 | |
| 226 | 229 | /** |
| 227 | 230 | * @param mixed string with reference to config |
| 231 | + * @param string $config |
|
| 228 | 232 | * @return mixed bool or config values |
| 229 | 233 | */ |
| 230 | 234 | public function getConfiguration($config = null) |
@@ -342,7 +346,6 @@ discard block |
||
| 342 | 346 | * Attach (or remove) multiple callbacks to an event and trigger those callbacks when that event is called. |
| 343 | 347 | * |
| 344 | 348 | * @param string $event name |
| 345 | - * @param mixed $value the optional value to pass to each callback |
|
| 346 | 349 | * @param mixed $callback the method or function to call - FALSE to remove all callbacks for event |
| 347 | 350 | */ |
| 348 | 351 | |
@@ -356,6 +359,9 @@ discard block |
||
| 356 | 359 | } |
| 357 | 360 | } |
| 358 | 361 | |
| 362 | + /** |
|
| 363 | + * @param string $event |
|
| 364 | + */ |
|
| 359 | 365 | public function callEvent($event, $method = false, $arguments = []) |
| 360 | 366 | { |
| 361 | 367 | if (isset(self::$events[$event])) { |
@@ -90,8 +90,6 @@ discard block |
||
| 90 | 90 | * |
| 91 | 91 | * @access public |
| 92 | 92 | * |
| 93 | - * @param string $requestedView relative path for the view |
|
| 94 | - * @param string $renderName array of data to expose to view |
|
| 95 | 93 | * |
| 96 | 94 | * @throws \Exception when a view can not be found |
| 97 | 95 | */ |
@@ -181,6 +179,10 @@ discard block |
||
| 181 | 179 | * @return string processed content |
| 182 | 180 | */ |
| 183 | 181 | //@TODO: come back and clean up this and the way the view receives stuff |
| 182 | + |
|
| 183 | + /** |
|
| 184 | + * @param string|boolean $file |
|
| 185 | + */ |
|
| 184 | 186 | private function process($file) |
| 185 | 187 | { |
| 186 | 188 | ob_start(); |