mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
8dd644d25d
Namespace all templates Move difflib and BBCodeParser2 to thirdparty Remove deprecated API marked for removal in 4.0
17 lines
395 B
PHP
17 lines
395 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Control;
|
|
|
|
/**
|
|
* 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.
|
|
*/
|
|
class NullHTTPRequest extends SS_HTTPRequest {
|
|
|
|
public function __construct() {
|
|
parent::__construct(null, null);
|
|
}
|
|
|
|
}
|