| 1 | <?php |
||
| 8 | abstract class Hook implements HookInterface |
||
| 9 | { |
||
| 10 | use TransportAwareTrait; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | protected $id; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var bool |
||
| 19 | */ |
||
| 20 | protected $active; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return int |
||
| 24 | */ |
||
| 25 | public function id() : int |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return bool |
||
| 32 | */ |
||
| 33 | public function active() : bool |
||
| 37 | } |
||
| 38 |