CreateFlightBillCommandHandlerFactory::factory()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 4
dl 0
loc 3
rs 10
c 0
b 0
f 0
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
}