Completed
Push — master ( 098987...2e6749 )
by Sam
02:27
created

InstanceStatusCollectionRequestEvent   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 27
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getInstanceStatusCollection() 0 4 1
A setInstanceCollection() 0 4 1
1
<?php
2
3
namespace Jalle19\StatusManager\Event;
4
5
use Symfony\Component\EventDispatcher\Event;
6
7
/**
8
 * Class InstanceStatusCollectionRequestEvent
9
 * @package   Jalle19\StatusManager\Event
10
 * @copyright Copyright &copy; Sam Stenvall 2016-
11
 * @license   https://www.gnu.org/licenses/gpl.html The GNU General Public License v2.0
12
 */
13
class InstanceStatusCollectionRequestEvent extends Event
14
{
15
16
	/**
17
	 * @var \SplObjectStorage
18
	 */
19
	private $_instanceCollection;
20
21
22
	/**
23
	 * @return \SplObjectStorage
24
	 */
25
	public function getInstanceStatusCollection()
26
	{
27
		return $this->_instanceCollection;
28
	}
29
30
31
	/**
32
	 * @param \SplObjectStorage $instanceCollection
33
	 */
34
	public function setInstanceCollection($instanceCollection)
35
	{
36
		$this->_instanceCollection = $instanceCollection;
37
	}
38
39
}
40