Binding   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 32
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

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 binding enum
12
 *
13
 * @package GravityMedia\Ghostscript\Enum
14
 */
15
class Binding
16
{
17
    /**
18
     * Left binding
19
     */
20
    const LEFT = 'Left';
21
22
    /**
23
     * Right binding
24
     */
25
    const RIGHT = 'Right';
26
27
    /**
28
     * Available binding values
29
     *
30
     * @var string[] $values
31
     */
32
    private static $values = [
33
        self::LEFT,
34
        self::RIGHT
35
    ];
36
37
    /**
38
     * Get available binding values
39
     *
40
     * @return string[]
41
     */
42 2
    public static function values()
43
    {
44 2
        return self::$values;
45
    }
46
}
47