| 1 | <?php |
||
| 9 | trait ApiHyperLogTrait |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param Request $request |
||
| 13 | * @return mixed |
||
| 14 | */ |
||
| 15 | abstract function dispatch(Request $request); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @override |
||
| 19 | * @inheritDoc |
||
| 20 | */ |
||
| 21 | public function pFAdd($key, ...$elements) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @override |
||
| 33 | * @inheritDoc |
||
| 34 | */ |
||
| 35 | public function pFCount(...$keys) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @override |
||
| 46 | * @inheritDoc |
||
| 47 | */ |
||
| 48 | public function pFMerge(array $dsKeyMap) |
||
| 56 | } |
||
| 57 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.