QueryOperationOperation   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A query_activate() 0 14 1
A query_deactivate() 0 14 1
A query_send_password() 0 12 1
1
<?php
2
3
/*
4
 * This file is part of the Icybee package.
5
 *
6
 * (c) Olivier Laviale <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Icybee\Modules\Users\Operation;
13
14
class QueryOperationOperation extends \Icybee\Operation\Module\QueryOperation
15
{
16
	protected function query_activate()
17
	{
18
		$keys = $this->request['keys'];
19
20
		return [
21
22
			'params' => [
23
24
				'keys' => $keys
25
26
			]
27
28
		];
29
	}
30
31
	protected function query_deactivate()
32
	{
33
		$keys = $this->request['keys'];
34
35
		return [
36
37
			'params' => [
38
39
				'keys' => $keys
40
41
			]
42
43
		];
44
	}
45
46
	protected function query_send_password()
47
	{
48
		return [
49
50
			'params' => [
51
52
				'keys' => $this->request['keys']
53
54
			]
55
56
		];
57
	}
58
}
59