mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-24 09:32:40 +00:00
5d4ea6edc0
This allows for the creation of synthetic empty result sets
25 lines
454 B
PHP
25 lines
454 B
PHP
<?php
|
|
/** @license MIT
|
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
declare(strict_types=1);
|
|
namespace JKingWeb\Arsse\Db;
|
|
|
|
use JKingWeb\Arsse\Db\Exception;
|
|
|
|
class ResultEmpty extends AbstractResult {
|
|
public function changes() {
|
|
return 0;
|
|
}
|
|
|
|
public function lastId() {
|
|
return 0;
|
|
}
|
|
|
|
// PHP iterator methods
|
|
|
|
public function valid() {
|
|
return false;
|
|
}
|
|
}
|