Add CounterRepositoryInterface

This commit is contained in:
antonkomarev
2020-07-12 12:15:03 +03:00
parent 02397a195d
commit 793a8ff0b4
5 changed files with 46 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
<?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 getCount(): int;
public function incrementCount(): void;
}