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

BookingStatusType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPossibleValues() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Application\DBAL\Types;
6
7
class BookingStatusType extends AbstractEnumType
8
{
9
    const APPLICATION = 'application';
10
    const BOOKED = 'booked';
11
    const PROCESSED = 'processed';
12
13
    protected function getPossibleValues(): array
14
    {
15
        return [
16
            self::APPLICATION,
17
            self::BOOKED,
18
            self::PROCESSED,
19
        ];
20
    }
21
}
22