mirror of
https://github.com/antonkomarev/github-profile-views-counter.git
synced 2026-07-23 14:03:37 -04:00
@@ -13,9 +13,11 @@ declare(strict_types=1);
|
||||
|
||||
namespace Contracts\Komarev\GitHubProfileViewsCounter;
|
||||
|
||||
use Komarev\GitHubProfileViewsCounter\Username;
|
||||
|
||||
interface CounterRepositoryInterface
|
||||
{
|
||||
public function getViewsCountByUsername(string $username): int;
|
||||
public function getViewsCountByUsername(Username $username): int;
|
||||
|
||||
public function addViewByUsername(string $username): void;
|
||||
public function addViewByUsername(Username $username): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user