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

BookingTypeType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Application\Api\Enum;
6
7
class BookingTypeType extends AbstractEnumType
8
{
9
    public function __construct()
10
    {
11
        $config = [
12
            \Application\DBAL\Types\BookingTypeType::SELF_APPROVED => 'Normal',
13
            \Application\DBAL\Types\BookingTypeType::ADMIN_APPROVED => 'Pour ouverture de compte',
14
            \Application\DBAL\Types\BookingTypeType::ADMIN_ONLY => 'Casiers et accessoires',
15
            \Application\DBAL\Types\BookingTypeType::MANDATORY => 'Service',
16
        ];
17
18
        parent::__construct($config);
19
    }
20
}
21