for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Anomaly\Streams\Platform\Http\Command;
use Illuminate\Contracts\Config\Repository;
use Illuminate\Http\Request;
/**
* Class ConfigureRequest
*
* @link http://pyrocms.com/
* @author PyroCMS, Inc. <[email protected]>
* @author Ryan Thompson <[email protected]>
*/
class ConfigureRequest
{
* Handle the command.
* @param Request $request
* @param Repository $config
public function handle(Request $request, Repository $config)
if ($config->get('streams::system.force_ssl')) {
$request->server->set('HTTPS', true);
}