We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9e77c commit 83ef34cCopy full SHA for 83ef34c
src/Abstracts/AbstractBlockBots.php
@@ -6,7 +6,7 @@
6
use Potelo\LaravelBlockBots\Contracts\Client;
7
use Carbon\Carbon;
8
9
-class AbstractBlockBots
+abstract class AbstractBlockBots
10
{
11
private $allowedBots = [];
12
protected $request;
@@ -83,4 +83,10 @@ final protected function isTheFirstOverflow()
83
84
return $this->hits === $this->limit + 1;
85
}
86
+
87
+ abstract protected function countHits();
88
89
+ abstract protected function isAllowed();
90
91
+ abstract protected function notAllowed();
92
0 commit comments