| 1 |
<?php |
| 2 |
|
| 3 |
namespace Give\Framework\DesignSystem; |
| 4 |
|
| 5 |
use Give\Framework\DesignSystem\Actions\RegisterDesignSystemStyles; |
| 6 |
use Give\Helpers\Hooks; |
| 7 |
use Give\ServiceProviders\ServiceProvider; |
| 8 |
|
| 9 |
class DesignSystemServiceProvider implements ServiceProvider |
| 10 |
{ |
| 11 |
/** |
| 12 |
* @since 2.26.0 |
| 13 |
*/ |
| 14 |
public function register() |
| 15 |
{ |
| 16 |
} |
| 17 |
|
| 18 |
/** |
| 19 |
* @since 2.26.0 |
| 20 |
*/ |
| 21 |
public function boot() |
| 22 |
{ |
| 23 |
Hooks::addAction('wp_enqueue_scripts', RegisterDesignSystemStyles::class); |
| 24 |
Hooks::addAction('admin_enqueue_scripts', RegisterDesignSystemStyles::class); |
| 25 |
} |
| 26 |
} |
| 27 |
|