Completed
Push — master ( d312aa...bbe9f1 )
by Sam
03:12
created

DummyClientManager   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getConnectedClients() 0 4 1
A getAuthenticatedClients() 0 4 1
1
<?php
2
3
namespace Jalle19\StatusManager\Test\Manager;
4
5
use Jalle19\StatusManager\Manager\AbstractClientManager;
6
7
/**
8
 * Class DummyClientManager
9
 * @package   Jalle19\StatusManager\Test\Manager
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 DummyClientManager extends AbstractClientManager
14
{
15
16
	/**
17
	 * @return \SplObjectStorage
18
	 */
19
	public function getConnectedClients()
20
	{
21
		return $this->_connectedClients;
22
	}
23
24
25
	/**
26
	 * @return \SplObjectStorage
27
	 */
28
	public function getAuthenticatedClients()
29
	{
30
		return $this->_authenticatedClients;
31
	}
32
33
}
34