Development

- Added new event when adding route.
- Added `prependUrl` method to `LoadableRoute` class.
- Added unit-test for add-route event.
- Updated documentation to reflect new changes.
This commit is contained in:
Simon Sessingø
2018-04-02 14:53:36 +02:00
parent 17a7b28e82
commit 30a2ddeed9
7 changed files with 245 additions and 160 deletions
@@ -39,6 +39,13 @@ interface ILoadableRoute extends IRoute
*/
public function setUrl(string $url): self;
/**
* Prepend url
* @param string $url
* @return ILoadableRoute
*/
public function prependUrl(string $url): self;
/**
* Returns the provided name for the router.
*