- Moved middleware stuff back to Route class.
- Fixed Tests not working due to invalid method.
- Updated depricated method-calls in demo-project.
This commit is contained in:
Simon Sessingø
2016-11-21 04:06:45 +01:00
parent efe5767220
commit dfd32c0904
7 changed files with 71 additions and 83 deletions
@@ -51,27 +51,4 @@ interface ILoadableRoute extends IRoute
*/
public function setName($name);
/**
* Get middlewares array
*
* @return array
*/
public function getMiddlewares();
/**
* Set middleware class-name
*
* @param string $middleware
* @return static
*/
public function setMiddleware($middleware);
/**
* Set middlewares array
*
* @param array $middlewares
* @return $this
*/
public function setMiddlewares(array $middlewares);
}