Completed
Push — master ( f0a67b...3b5eef )
by recca
02:02
created

Action   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 37
ccs 5
cts 5
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Recca0120\Repository;
4
5
class Action
6
{
7
    /**
8
     * $type.
9
     *
10
     * @var string
11
     */
12
    public $type;
13
14
    /**
15
     * $method.
16
     *
17
     * @var string
18
     */
19
    public $method;
20
21
    /**
22
     * $parameters.
23
     *
24
     * @var mixed
25
     */
26
    public $parameters;
27
28
    /**
29
     * __construct.
30
     *
31
     * @param string $type
32
     * @param string $method
33
     * @param array $parameters
34
     */
35 24
    public function __construct($type, $method, $parameters = [])
36
    {
37 24
        $this->type = $type;
38 24
        $this->method = $method;
39 24
        $this->parameters = $parameters;
40 24
    }
41
}
42