Completed
Push — master ( 6acfe1...0042b2 )
by Radu
11:51 queued 10s
created

Route   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 7
c 1
b 0
f 0
dl 0
loc 21
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace WebServCo\Framework\Objects;
6
7
final class Route
8
{
9
    public string $class;
10
11
    public string $method;
12
13
    /**
14
    * Arguments.
15
    *
16
    * @var array<int,string>
17
    */
18
    public array $arguments;
19
20
    /**
21
    * @param array<int,string> $arguments
22
    */
23
    public function __construct(string $class, string $method, array $arguments)
24
    {
25
        $this->class = $class;
26
        $this->method = $method;
27
        $this->arguments = $arguments;
28
    }
29
}
30