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…
Reference in New Issue