Total Complexity | 5 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class SymfonyMailerServiceProvider extends AbstractLeagueServiceFactory |
||
11 | { |
||
12 | protected function id(): string |
||
13 | { |
||
14 | return 'mailer'; |
||
15 | } |
||
16 | |||
17 | protected function types(): array |
||
18 | { |
||
19 | return [Mailer::class]; |
||
20 | } |
||
21 | |||
22 | protected function aliases(): array |
||
23 | { |
||
24 | return ['symfony_mailer', 'symfonyMailer']; |
||
25 | } |
||
26 | |||
27 | protected function factory(): ServiceFactoryInterface |
||
28 | { |
||
29 | return new SymfonyMailerProvider(); |
||
30 | } |
||
31 | |||
32 | protected function args(): ?array |
||
35 | } |
||
36 | } |
||
37 |