ConvertCommandFactory::getInstance()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 1
cts 1
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
/**
4
 * This file is part of the Clover to Html package.
5
 *
6
 * (c) Stéphane Demonchaux <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
namespace CloverToHtml\Command;
12
13
use CloverToHtml\ConverterFactory;
14
15
/**
16
 * Convert command.
17
 *
18
 * @author Stéphane Demonchaux
19
 */
20
class ConvertCommandFactory
21
{
22
    public static function getInstance(): ConvertCommand
23
    {
24
        return new ConvertCommand(ConverterFactory::getInstance());
25 2
    }
26
}
27