mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
f056abc818
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115116 467b73ca-7a2a-4603-9d3b-597d59a354a9
16 lines
400 B
PHP
16 lines
400 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.
|
|
*
|
|
* @param sapphire
|
|
* @subpackage control
|
|
*/
|
|
class NullHTTPRequest extends SS_HTTPRequest {
|
|
|
|
function __construct() {
|
|
parent::__construct(null, null);
|
|
}
|
|
|
|
} |