Completed
Push — master ( 81d11b...3691ca )
by Laurent
01:59
created

CreateFlightBillCommandHandlerFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A factory() 0 3 1
1
<?php
2
3
require_once __DIR__.'/CreateFlightBillCommandHandler.php';
4
require_once __DIR__.'/CreateFlightBillTransactionalCommandHandler.php';
5
6
/**
7
 * @author Laurent De Coninck <[email protected]>
8
 */
9
class CreateFlightBillCommandHandlerFactory
10
{
11
    /**
12
     * @return CreateFlightBillCommandHandler
13
     */
14
    public static function factory($db, $conf, $user, $langs){
15
        return new CreateFlightBillTransactionalCommandHandler($db, $conf, $user, $langs);
16
    }
17
18
}