Finished health action implementation

This commit is contained in:
Alejandro Celaya
2018-12-29 11:24:55 +01:00
parent 3f65ef998c
commit 0f86123ccb
4 changed files with 9 additions and 14 deletions

View File

@@ -11,6 +11,9 @@ use function strpos;
class PathVersionMiddleware implements MiddlewareInterface
{
// TODO The /health endpoint needs this middleware in order to work without the version.
// Take it into account if this middleware is ever removed.
/**
* Process an incoming server request and return a response, optionally delegating
* to the next middleware component to create the response.