mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
File\Csv: use Fetchable instead of BaseQuery
This commit is contained in:
parent
bc4783099a
commit
ab32a91a6e
@ -4,18 +4,15 @@
|
||||
|
||||
namespace Icinga\File;
|
||||
|
||||
use Icinga\Data\BaseQuery;
|
||||
use Icinga\Data\Fetchable;
|
||||
|
||||
class Csv
|
||||
{
|
||||
protected $query;
|
||||
|
||||
protected function __construct()
|
||||
{
|
||||
protected function __construct() {}
|
||||
|
||||
}
|
||||
|
||||
public static function fromQuery(BaseQuery $query)
|
||||
public static function fromQuery(Fetchable $query)
|
||||
{
|
||||
$csv = new Csv();
|
||||
$csv->query = $query;
|
||||
|
Loading…
x
Reference in New Issue
Block a user