Update source into github

This commit is contained in:
pbao9
2025-07-24 16:18:27 +07:00
parent 41419358dd
commit 69851ac7bc
2642 changed files with 284095 additions and 0 deletions
@@ -0,0 +1,38 @@
<?php
namespace App\Repositories\Whois;
interface WhoisRepositoryInterface
{
/**
* Get domain information from cache
*
* @param string $domain
* @return array|null
*/
public function getDomainInfo(string $domain): ?array;
/**
* Cache domain information
*
* @param string $domain
* @param array $data
* @return bool
*/
public function cacheDomainInfo(string $domain, array $data): bool;
/**
* Clear domain cache
*
* @param string $domain
* @return bool
*/
public function clearDomainCache(string $domain): bool;
/**
* Clear all whois cache
*
* @return bool
*/
public function clearAllCache(): bool;
}