Files
newznab-tmux/app/Services/Search/Contracts/SearchDriverInterface.php
T
2026-02-26 14:26:07 +01:00

29 lines
594 B
PHP

<?php
declare(strict_types=1);
namespace App\Services\Search\Contracts;
/**
* Interface for search drivers.
*
* Extends SearchServiceInterface with additional driver-specific methods.
*/
interface SearchDriverInterface extends SearchServiceInterface
{
/**
* Get the driver name.
*/
public function getDriverName(): string;
/**
* Check if the search service is available.
*/
public function isAvailable(): bool;
/**
* Escape a search string for the specific driver.
*/
public static function escapeString(string $string): string;
}