2017-07-15 20:44:06 +00:00
|
|
|
<?php
|
2017-11-17 01:23:18 +00:00
|
|
|
/** @license MIT
|
|
|
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
|
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
|
2017-07-15 20:44:06 +00:00
|
|
|
declare(strict_types=1);
|
2021-04-14 15:17:01 +00:00
|
|
|
|
2017-07-15 20:44:06 +00:00
|
|
|
namespace JKingWeb\Arsse\Service;
|
|
|
|
|
|
|
|
interface Driver {
|
2017-08-29 14:50:31 +00:00
|
|
|
public static function driverName(): string;
|
|
|
|
public static function requirementsMet(): bool;
|
|
|
|
public function queue(int ...$feeds): int;
|
|
|
|
public function exec(): int;
|
2019-10-19 22:51:01 +00:00
|
|
|
public function clean(): int;
|
2017-08-29 14:50:31 +00:00
|
|
|
}
|