1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<?php
namespace SolidWP\Mail\Repository;
use SolidWP\Mail\Contracts\Service_Provider;
if ( ! defined( 'ABSPATH' ) ) { exit; }
class Provider extends Service_Provider {
/** * Register services and actions. * * This method is responsible for booting repository controllers and * registering necessary actions. * * @since 2.0.0 * * @return void */ public function register(): void { $this->container->get( ProvidersRepository::class ); $this->container->get( LogsRepository::class ); }
/** * Register actions with WordPress. * * This method registers WordPress actions needed for the admin functionality. * * @since 2.0.0 * * @return void */ public function register_actions(): void { } }
|