Passed
Branch master (baa65a)
by Oliver
09:35
created

TestSuiteLoader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A loadSuite() 0 3 1
1
<?php
2
3
namespace OckCyp\CoversValidator\Loader;
4
5
use OckCyp\CoversValidator\Model\ConfigurationHolder;
6
use OckCyp\CoversValidator\Model\TestCollection;
7
8
class TestSuiteLoader
9
{
10
    /**
11
     * Load test suite
12
     *
13
     * @param ConfigurationHolder $configurationHolder
14
     * @return TestCollection
15
     */
16
    public static function loadSuite(ConfigurationHolder $configurationHolder): TestCollection
17
    {
18
        return new TestCollection($configurationHolder);
19
    }
20
}
21