Completed
Push — new_master ( 14eebe...a8bdf5 )
by Emlyn
05:48
created

ApplicationServicesProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 2
dl 0
loc 15
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A register() 0 4 1
1
<?php
2
/**
3
 * @package    Fuel\Foundation
4
 * @version    2.0
5
 * @author     Fuel Development Team
6
 * @license    MIT License
7
 * @copyright  2010 - 2016 Fuel Development Team
8
 * @link       http://fuelphp.com
9
 */
10
11
declare(strict_types=1);
12
13
namespace Fuel\Foundation;
14
15
use League\Container\ServiceProvider;
16
17
class ApplicationServicesProvider extends ServiceProvider
18
{
19
20
	protected $provides = [
21
		'fuel.application.event',
22
	];
23
24
	/**
25
	 * {@inheritdoc}
26
	 */
27 1
	public function register()
28
	{
29 1
		$this->getContainer()->add('fuel.application.event', 'Fuel\Event\Container');
30 1
	}
31
}
32