Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
LogLevel
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 values
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
1<?php
2
3namespace LDC\LDCCRM\Enums;
4
5use Kwaadpepper\Enum\BaseEnum;
6
7/**
8 * @method static self EMERG() system is unusable
9 * @method static self ALERT() action must be taken immediately
10 * @method static self CRIT() critical conditions
11 * @method static self ERR() critical conditions
12 * @method static self WARNING() critical conditions
13 * @method static self NOTICE() normal, but significant, condition
14 * @method static self INFO() informational message
15 * @method static self DEBUG() debug-level message
16 *
17 * @package LDCCrmClient
18 * @subpackage enums
19 */
20class LogLevel extends BaseEnum
21{
22    /**
23     * Valeurs des possibilités de cet énumération (value)
24     *
25     * @return array
26     */
27    protected static function values()
28    {
29        return [
30            'EMERG' => 'LOG_EMERG',
31            'ALERT' => 'LOG_ALERT',
32            'CRIT' => 'LOG_CRIT',
33            'ERR' => 'LOG_ERR',
34            'WARNING' => 'LOG_WARNING',
35            'NOTICE' => 'LOG_NOTICE',
36            'INFO' => 'LOG_INFO',
37            'DEBUG' => 'LOG_DEBUG',
38        ];
39    }
40}