for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SilverStripe\Control;
use SilverStripe\Control\HTTPRequest;
/**
* Implements the "Null Object" pattern for a missing http request.
* Set on controllers on construction time, typically overwritten
* by {@link Controller->handleRequest()} and {@link Controller->handleAction()} later on.
*
* @package framework
* @subpackage control
*/
class NullHTTPRequest extends HTTPRequest {
public function __construct() {
parent::__construct(null, null);
}