for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace XHGui;
use Slim\Http\Request as SlimRequest;
/**
* Class making it convenient to access request parameters
*/
class Request extends SlimRequest
{
//checks _GET [IS PSR-7 compliant]
public function get(string $key)
return $this->getQueryParams()[$key];
}