diff options
author | Arnold Daniels <arnold@jasny.net> | 2016-11-19 15:34:37 +0100 |
---|---|---|
committer | Arnold Daniels <arnold@jasny.net> | 2016-11-19 15:34:37 +0100 |
commit | 1132955bb52fd32c0669c817ddae94e8e6b2de48 (patch) | |
tree | b45d515ca822d10d34bffa2419466ba11b6e76e8 /src/Controller | |
parent | cf3a91144b1e35dcecefa16b76918bfc6dd0a12f (diff) | |
download | controller-1132955bb52fd32c0669c817ddae94e8e6b2de48.zip controller-1132955bb52fd32c0669c817ddae94e8e6b2de48.tar.gz controller-1132955bb52fd32c0669c817ddae94e8e6b2de48.tar.bz2 |
Make all tests run
Mark some tests incomplete, rather than have them fail or error
Completed tests for Controller
Made getRequest and get/setResponse public
Diffstat (limited to 'src/Controller')
-rw-r--r-- | src/Controller/CheckRequest.php | 2 | ||||
-rw-r--r-- | src/Controller/CheckResponse.php | 2 | ||||
-rw-r--r-- | src/Controller/Output.php | 4 | ||||
-rw-r--r-- | src/Controller/RouteAction.php | 4 | ||||
-rw-r--r-- | src/Controller/Session.php | 2 | ||||
-rw-r--r-- | src/Controller/View/Twig.php | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/src/Controller/CheckRequest.php b/src/Controller/CheckRequest.php index a63a2b7..478266a 100644 --- a/src/Controller/CheckRequest.php +++ b/src/Controller/CheckRequest.php @@ -14,7 +14,7 @@ trait CheckRequest * * @return ServerRequestInterface */ - abstract protected function getRequest(); + abstract public function getRequest(); /** diff --git a/src/Controller/CheckResponse.php b/src/Controller/CheckResponse.php index 7509778..62db408 100644 --- a/src/Controller/CheckResponse.php +++ b/src/Controller/CheckResponse.php @@ -14,7 +14,7 @@ trait CheckResponse * * @return ResponseInterface */ - abstract protected function getResponse(); + abstract public function getResponse(); /** diff --git a/src/Controller/Output.php b/src/Controller/Output.php index 698b27f..7baad5f 100644 --- a/src/Controller/Output.php +++ b/src/Controller/Output.php @@ -20,14 +20,14 @@ trait Output * * @return ResponseInterface */ - abstract protected function getResponse(); + abstract public function getResponse(); /** * Get response. set for controller * * @return ResponseInterface */ - abstract protected function setResponse(ResponseInterface $response); + abstract public function setResponse(ResponseInterface $response); /** * Returns the HTTP referer if it is on the current host diff --git a/src/Controller/RouteAction.php b/src/Controller/RouteAction.php index 5303f8a..90ef1dc 100644 --- a/src/Controller/RouteAction.php +++ b/src/Controller/RouteAction.php @@ -15,14 +15,14 @@ trait RouteAction * * @return ServerRequestInterface */ - abstract protected function getRequest(); + abstract public function getRequest(); /** * Get response. set for controller * * @return ResponseInterface */ - abstract protected function getResponse(); + abstract public function getResponse(); /** * Respond with a server error diff --git a/src/Controller/Session.php b/src/Controller/Session.php index 8dc292f..3318932 100644 --- a/src/Controller/Session.php +++ b/src/Controller/Session.php @@ -27,7 +27,7 @@ trait Session * * @return ServerRequestInterface */ - abstract protected function getRequest(); + abstract public function getRequest(); /** diff --git a/src/Controller/View/Twig.php b/src/Controller/View/Twig.php index 3b9b7b8..3645ec5 100644 --- a/src/Controller/View/Twig.php +++ b/src/Controller/View/Twig.php @@ -21,7 +21,7 @@ trait Twig * Get server request * @return ServerRequestInterface */ - abstract protected function getRequest(); + abstract public function getRequest(); /** * Output result |