silverstripe-framework/control/NullHTTPRequest.php

17 lines
409 B
PHP
Raw Permalink Normal View History

<?php
/**
* 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.
2014-08-15 08:53:05 +02:00
*
* @package framework
* @subpackage control
*/
class NullHTTPRequest extends SS_HTTPRequest {
public function __construct() {
parent::__construct(null, null);
}
2014-08-15 08:53:05 +02:00
}