Benchmark::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 5
dl 0
loc 13
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Hyperized\Benchmark;
4
5
use Hyperized\Benchmark\Config\Config;
6
use Hyperized\Benchmark\Modules\CPU;
7
use Hyperized\Benchmark\Modules\Disk;
8
use Hyperized\Benchmark\Modules\MySQL;
9
use Hyperized\Benchmark\Modules\PHP;
10
11
/**
12
 * Class Benchmark
13
 * @package Hyperized\Benchmark
14
 */
15
class Benchmark
16
{
17
    /**
18
     * Benchmark constructor.
19
     *
20
     * @param Config $config
21
     * @param PHP $php
22
     * @param Disk $disk
23
     * @param CPU $cpu
24
     * @param MySQL $mysql
25
     */
26
    public function __construct(
27
        /** @scrutinizer ignore-unused */
28
        Config $config,
29
        /** @scrutinizer ignore-unused */
30
        PHP $php,
31
        /** @scrutinizer ignore-unused */
32
        Disk $disk,
33
        /** @scrutinizer ignore-unused */
34
        CPU $cpu,
35
        /** @scrutinizer ignore-unused */
36
        MySQL $mysql
37
    )
38
    {
39
        // Autowired via PHP DI
40
    }
41
}