Store views timestamps

This commit is contained in:
antonkomarev
2020-07-12 23:55:43 +03:00
parent c1d0a540ed
commit e0147d3ca1
5 changed files with 29 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ namespace Contracts\Komarev\GitHubProfileViewsCounter;
interface CounterRepositoryInterface
{
public function getCountByUsername(string $username): int;
public function getViewsCountByUsername(string $username): int;
public function incrementCountByUsername(string $username): void;
public function addViewByUsername(string $username): void;
}