[x] Fix up our existing DI container registrations
[x] Update all of our IAppServices wrapper to use the new slim 3 replacement APIs
[x] Remove our MgChunkWriter and subclasses and instead re-work such usages as wrappers over the PHP standard StreamInterface, that we can then just pass to the slim3 response.
[x] Need to rework our usage of halt (probably just throw a relevant exception instead)
$this->app
, to be behind a newIAppServices
interface with an implementation that wraps the existing\Slim\Slim
app:SetResponseHeader
(to wrap$this->app->response->header()
)WriteResponseContent
(to wrap$this->app->response->write()
)SetResponseBody
(to wrap$this->app->response->setBody()
)GetRequestHeader
(to wrap$this->app->request->headers->get()
)GetRequestBody
(to wrap$this->app->request->getBody()
)GetLocalizedText
(to wrap$this->app->localizer->getText()
)GetRequestParameter
methodGetConfig
(to wrap$this->app->config()
)SetResponseStatus
(to wrap$this->app->response->setStatus()
)Halt
(to wrap$this->app->halt()
)GetRequestPathInfo
(to wrap$this->app->request->getPathInfo()
)GetAllRequestParams
(to wrap$this->app->request->params()
)LogDebug
(to wrap$this->app->log->debug()
)SetResponseExpiry
(to wrap$this->app->expires()
)SetResponseLastModified
(to wrap$this->app->lastModified()
)GetMapGuideVersion
(to wrap$this->app->MG_VERSION
)HasDependecy
(to wrap$this->app->container->has()
)GetDependency
(to wrap$this->app->container->$key
)$app
in all our route handler closures by using\Slim\Slim::getInstance()
to access this slim appIAppServices
wrapper to use the new slim 3 replacement APIsMgChunkWriter
and subclasses and instead re-work such usages as wrappers over the PHP standardStreamInterface
, that we can then just pass to the slim3 response.halt
(probably just throw a relevant exception instead)[ ] UpdatePostponed to after 1.0-RC6swagger-php
and update the annotations (https://zircote.github.io/swagger-php/guide/migrating-to-v3.html)