DataModifyAction::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 2
crap 1
1
<?php
2
3
namespace Thruster\Action\DataModifierActions;
4
5
use Thruster\Component\Actions\Action\BaseAction;
6
7
/**
8
 * Class DataModifyAction
9
 *
10
 * @package Thruster\Action\DataModifierActions
11
 * @author  Aurimas Niekis <[email protected]>
12
 */
13
class DataModifyAction extends BaseAction
14
{
15
    /**
16
     * @param string $groupName
17
     * @param mixed  $input
18
     */
19 2
    public function __construct(string $groupName, $input)
20
    {
21 2
        parent::__construct($groupName, $input);
22 2
    }
23
24
    /**
25
     * @inheritDoc
26
     */
27 2
    public function getName() : string
28
    {
29 2
        return 'thruster_data_modifier_modify';
30
    }
31
}
32