diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-11-14 02:17:27 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-12-02 12:53:31 +0100 |
commit | c9d7e88cc70b6ad124c28be479a6e64c4b174ea6 (patch) | |
tree | ee4a37c27b05c1ef4ccc6a01cc088b510f5084ef /src/Middleware/CallableHandler.php | |
parent | 55beca95cd8d6ecfe610daea304c8374a10485af (diff) |
Implemented controller permissions
Diffstat (limited to 'src/Middleware/CallableHandler.php')
-rw-r--r-- | src/Middleware/CallableHandler.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Middleware/CallableHandler.php b/src/Middleware/CallableHandler.php index eb493bf1..0bb666a3 100644 --- a/src/Middleware/CallableHandler.php +++ b/src/Middleware/CallableHandler.php @@ -74,4 +74,12 @@ class CallableHandler implements MiddlewareInterface, RequestHandlerInterface $response = $this->container->get('response'); return $response->withContent($return); } + + /** + * @return callable + */ + public function getCallable() + { + return $this->callable; + } } |