Passed
Branch master (6e6484)
by Petr
06:04
created

YourMembershipServiceProvider   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 36
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
A boot() 0 4 1
A provides() 0 4 1
1
<?php
2
namespace P2A\YourMembership;
3
4
use Illuminate\Support\ServiceProvider;
5
6
class YourMembershipServiceProvider extends ServiceProvider
7
{
8
9
	/**
10
	 * Indicates if loading of the provider is deferred.
11
	 *
12
	 * @var bool
13
	 */
14
	protected $defer = false;
15
16
	/**
17
	 * Register the service provider.
18
	 *
19
	 * @return void
20
	 */
21
	public function register()
22
	{
23
		//
24
	}
25
26
	public function boot()
27
	{
28
		$this->package('phone2action/ym-api');
29
	}
30
31
	/**
32
	 * Get the services provided by the provider.
33
	 *
34
	 * @return array
35
	 */
36
	public function provides()
37
	{
38
		return array();
39
	}
40
41
}
42