Completed
Push — master ( f4ab91...b02197 )
by Mahmoud
03:34
created

MiddlewareProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 21
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A boot() 0 4 1
A register() 0 4 1
1
<?php
2
3
namespace App\Ship\Parents\Providers;
4
5
use App\Ship\Engine\Loaders\MiddlewaresLoaderTrait;
6
7
/**
8
 * Class MiddlewareProvider
9
 *
10
 * @author  Mahmoud Zalt  <[email protected]>
11
 */
12
abstract class MiddlewareProvider extends MainProvider
13
{
14
15
    use MiddlewaresLoaderTrait;
16
17
    /**
18
     * Perform post-registration booting of services.
19
     */
20
    public function boot()
21
    {
22
        $this->loadContainersInternalMiddlewares();
23
    }
24
25
    /**
26
     * Register anything in the container.
27
     */
28
    public function register()
29
    {
30
31
    }
32
}
33