mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 21:46:10 +02:00
17 lines
409 B
PHP
17 lines
409 B
PHP
<?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.
|
|
*
|
|
* @package framework
|
|
* @subpackage control
|
|
*/
|
|
class NullHTTPRequest extends SS_HTTPRequest {
|
|
|
|
public function __construct() {
|
|
parent::__construct(null, null);
|
|
}
|
|
|
|
}
|