Completed
Push — master ( 0ae2b7...d7633b )
by Daniel
03:14
created

UcrAndBgInfo   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 32
ccs 0
cts 2
cp 0
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 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
    public static function values()
43
    {
44
        return self::$values;
45
    }
46
}
47