| 1 | <?php |
||
| 18 | abstract class AbstractHandler |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * AbstractHandler constructor. |
||
| 23 | * @param int $count |
||
| 24 | * @param array $chain |
||
| 25 | */ |
||
| 26 | public function __construct(int $count, array $chain) |
||
| 31 | |||
| 32 | abstract public function request(); |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param int $count |
||
| 36 | * @param array $chain |
||
| 37 | */ |
||
| 38 | protected function next(int $count, array $chain): void |
||
| 50 | } |
||
| 51 |