Pionia Core

Deprecated

Table of Contents

src/Core/Config/CoreKernel.php
src/Core/Routing/PioniaRouter.php
src/Request/Request.php

CoreKernel.php

Line Element Reason
73 CoreKernel::registerMiddleware()
  • register middlewares directly in the settings.ini file. Will be removed from future versions
131 CoreKernel::registerAuthBackends()
  • register authentications directly in the settings.ini file. Will be removed from future versions
207 CoreKernel::handle()
  • This method will be removed in future versions. Use the run method instead

PioniaRouter.php

Line Element Reason
91 PioniaRouter::post()
  • Use addSwitchFor instead
108 PioniaRouter::addGroup()

Use addSwitchFor instead

173 PioniaRouter::get()
  • Use addSwitchFor instead
193 PioniaRouter::cleanBase()
  • Was useful for v1.1.0 and below
223 PioniaRouter::addRoute()
  • Use addSwitchFor instead with the version name. This is just a helper method

Request.php

Line Element Reason
104 Request::getJsonData()

Use $this->getData() instead

145 Request::getFormData()

Use $this->getData() instead

Search results