Completed
Push — master ( bdc37e...5a8dc8 )
by Daniel
10s
created

ProcessColorModel   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 28
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A values() 0 4 1
1
<?php
2
/**
3
 * This file is part of the Ghostscript package
4
 *
5
 * @author Simon Schrape <[email protected]>
6
 */
7
8
namespace GravityMedia\Ghostscript\Enum;
9
10
/**
11
 * The process color model enum
12
 *
13
 * @package GravityMedia\Ghostscript\Enum
14
 */
15
class ProcessColorModel
16
{
17
    const DEVICE_RGB = 'DeviceRGB';
18
    const DEVICE_CMYK = 'DeviceCMYK';
19
    const DEVICE_GRAY = 'DeviceGray';
20
21
22
    /**
23
     * Available process color model values
24
     *
25
     * @var string[] $values
26
     */
27
    private static $values = [
28
        self::DEVICE_RGB,
29
        self::DEVICE_CMYK,
30
        self::DEVICE_GRAY
31
    ];
32
33
    /**
34
     * Get available process color model values
35
     *
36
     * @return string[]
37
     */
38
    public static function values()
39
    {
40
        return self::$values;
41
    }
42
}
43