Completed
Push — master ( 334f6b...01d482 )
by Adrien
11:34
created

BookingStatusType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Application\Api\Enum;
6
7
class BookingStatusType extends AbstractEnumType
8
{
9
    public function __construct()
10
    {
11
        $config = [
12
            \Application\DBAL\Types\BookingStatusType::APPLICATION => 'Demande',
13
            \Application\DBAL\Types\BookingStatusType::BOOKED => 'Réservé',
14
            \Application\DBAL\Types\BookingStatusType::PROCESSED => 'Traité (en cas de rejet)',
15
        ];
16
17
        parent::__construct($config);
18
    }
19
}
20