Test Failed
Push — main ( 92cbf8...131025 )
by Bingo
08:08
created

DefaultDeploymentHandlerFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A buildDeploymentHandler() 0 3 1
1
<?php
2
3
namespace Jabe\Engine\Impl\Repository;
4
5
use Jabe\Engine\ProcessEngineInterface;
6
use Jabe\Engine\Repository\{
7
    DeploymentHandlerInterface,
8
    DeploymentHandlerFactoryInterface
9
};
10
11
class DefaultDeploymentHandlerFactory implements DeploymentHandlerFactoryInterface
12
{
13
    public function buildDeploymentHandler(ProcessEngineInterface $processEngine): DeploymentHandlerInterface
14
    {
15
        return new DefaultDeploymentHandler($processEngine);
16
    }
17
}
18