[FEATURE] Added getIdentifier method to RouterBase

- Fixed getter for getLoadedRoute
This commit is contained in:
Simon Sessingø
2015-10-11 10:43:35 +02:00
parent a1271f1c89
commit 3c3dcdf8df
2 changed files with 19 additions and 2 deletions
+5 -2
View File
@@ -120,8 +120,11 @@ class RouterBase {
/**
* @return RouterEntry
*/
public function getLoadedClass() {
return $this->loadedClass;
public function getLoadedRoute() {
if(!($this->loadedRoute instanceof RouterGroup)) {
return $this->loadedRoute;
}
return null;
}
/**