Files
github-profile-views-counter/contracts/CounterRepositoryInterface.php
2020-07-12 23:55:43 +03:00

22 lines
498 B
PHP

<?php
/*
* This file is part of GitHub Profile Views Counter.
*
* (c) Anton Komarev <anton@komarev.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Contracts\Komarev\GitHubProfileViewsCounter;
interface CounterRepositoryInterface
{
public function getViewsCountByUsername(string $username): int;
public function addViewByUsername(string $username): void;
}