2010-12-16 05:06:13 +01:00
|
|
|
<?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
|
|
|
*
|
2012-04-12 08:02:46 +02:00
|
|
|
* @package framework
|
2010-12-16 05:06:13 +01:00
|
|
|
* @subpackage control
|
|
|
|
*/
|
|
|
|
class NullHTTPRequest extends SS_HTTPRequest {
|
|
|
|
|
2012-09-19 12:07:39 +02:00
|
|
|
public function __construct() {
|
2010-12-16 05:06:13 +01:00
|
|
|
parent::__construct(null, null);
|
|
|
|
}
|
2014-08-15 08:53:05 +02:00
|
|
|
|
2012-03-24 04:38:57 +01:00
|
|
|
}
|