Passed
Push — master ( 1fa191...e3e193 )
by Vladimir
01:51
created

FondBotApplicationServiceProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
dl 0
loc 15
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A intents() 0 3 1
A boot() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace FondBot;
6
7
use Illuminate\Support\ServiceProvider;
8
9
class FondBotApplicationServiceProvider extends ServiceProvider
10
{
11
    /**
12
     * Bootstrap any application services.
13
     *
14
     * @return void
15
     */
16
    public function boot(): void
17
    {
18
        FondBot::routes();
19
    }
20
21
    protected function intents(): void
22
    {
23
        FondBot::intentsIn(app_path('Intents'));
24
    }
25
}
26