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

22 lines
500 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 getCountByUsername(string $username): int;
public function incrementCountByUsername(string $username): void;
}