mirror of
https://github.com/antonkomarev/github-profile-views-counter.git
synced 2026-06-01 04:31:54 -04:00
22 lines
500 B
PHP
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;
|
|
}
|