[FEATURE]

- Added support for custom ExceptionHandlers on group level.
- Routes now contain parent group, if any.
- Fixed wrong usage of required parameter.
This commit is contained in:
Simon Sessingø
2015-11-22 20:24:43 +01:00
parent a9e7a33ff8
commit 8efec07a8b
5 changed files with 63 additions and 29 deletions
+9
View File
@@ -33,4 +33,13 @@ class RouterGroup extends RouterEntry {
return null;
}
public function setExceptionHandler($class) {
$this->exceptionHandler = $class;
return $this;
}
public function getExceptionHandler() {
return $this->exceptionHandler;
}
}