Files
github-profile-views-counter/contracts/CounterRepositoryInterface.php
Anton Komarev cd5b7842af Code style fix
2023-09-03 13:25:57 +03:00

28 lines
579 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;
use Komarev\GitHubProfileViewsCounter\Username;
interface CounterRepositoryInterface
{
public function getViewsCountByUsername(
Username $username
): int;
public function addViewByUsername(
Username $username
): void;
}