This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Description
Hi ZF team! Just a little thing:
How can I check if the request scheme is https?
Regardless the getScheme() method, does the Request class has a method for that?
I can get the scheme:
$request = $this->request->getUri();
return ($request->getScheme() === 'https');
So, where should I add this validation for make it available for all controllers?
Anyways, would be great add this method on the Request object.
$this->request->isSecure()
// or maybe
$this->request->isHttps()
Thanks! great project 🥇