ServiceProvider.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Email; |
| 4 | |
| 5 | use Give\Helpers\Hooks; |
| 6 | |
| 7 | /** |
| 8 | * @since 2.17.1 |
| 9 | */ |
| 10 | class ServiceProvider implements \Give\ServiceProviders\ServiceProvider |
| 11 | { |
| 12 | |
| 13 | /** |
| 14 | * @inheritDoc |
| 15 | */ |
| 16 | public function register() |
| 17 | { |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * @inheritDoc |
| 22 | */ |
| 23 | public function boot() |
| 24 | { |
| 25 | Hooks::addAction('admin_init', GlobalSettingValidator::class); |
| 26 | } |
| 27 | } |
| 28 |