| 1 | <?php |
||
| 11 | class NullRequest implements HttpRequest { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @since 1.0 |
||
| 15 | * |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | 1 | public function ping() { |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @since 1.0 |
||
| 24 | * |
||
| 25 | * {@inheritDoc} |
||
| 26 | */ |
||
| 27 | public function setOption( $name, $value ) {} |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @since 1.0 |
||
| 31 | * |
||
| 32 | * {@inheritDoc} |
||
| 33 | */ |
||
| 34 | public function getOption( $name ) {} |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @since 1.0 |
||
| 38 | * |
||
| 39 | * {@inheritDoc} |
||
| 40 | */ |
||
| 41 | 1 | public function getLastTransferInfo( $name = null ) { |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @since 1.0 |
||
| 47 | * |
||
| 48 | * {@inheritDoc} |
||
| 49 | */ |
||
| 50 | 1 | public function getLastError() { |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @since 1.0 |
||
| 56 | * |
||
| 57 | * {@inheritDoc} |
||
| 58 | */ |
||
| 59 | 1 | public function getLastErrorCode() { |
|
| 62 | |||
| 63 | /** |
||
| 64 | * @since 1.0 |
||
| 65 | * |
||
| 66 | * {@inheritDoc} |
||
| 67 | */ |
||
| 68 | public function execute() {} |
||
| 69 | |||
| 70 | } |
||
| 71 |