UcrAndBgInfo::values()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * This file is part of the Ghostscript package
4
 *
5
 * @author Daniel Schröder <[email protected]>
6
 */
7
8
namespace GravityMedia\Ghostscript\Enum;
9
10
/**
11
 * The UCR and BG info enum
12
 *
13
 * @package GravityMedia\Ghostscript\Enum
14
 */
15
class UcrAndBgInfo
16
{
17
    /**
18
     * Preserve under color removal and black generation arguments
19
     */
20
    const PRESERVE = 'Preserve';
21
22
    /**
23
     * Ignore under color removal and black generation arguments
24
     */
25
    const REMOVE = 'Remove';
26
27
    /**
28
     * Available UCR and BG info values
29
     *
30
     * @var string[]
31
     */
32
    private static $values = [
33
        self::PRESERVE,
34
        self::REMOVE
35
    ];
36
37
    /**
38
     * Get available UCR and BG info values
39
     *
40
     * @return string[]
41
     */
42 2
    public static function values()
43
    {
44 2
        return self::$values;
45
    }
46
}
47