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

ApplicationServicesProvider::register()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 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