FileStandalone   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 64
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 64
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getFocusPointY() 0 4 1
A setFocusPointY() 0 4 1
A getFocusPointX() 0 4 1
A setFocusPointX() 0 4 1
1
<?php
2
3
/**
4
 * File standalone.
5
 */
6
7
namespace HDNET\Focuspoint\Domain\Model;
8
9
use HDNET\Autoloader\Annotation\DatabaseField;
10
use HDNET\Autoloader\Annotation\DatabaseTable;
11
use HDNET\Autoloader\Annotation\SmartExclude;
12
13
/**
14
 * File standalone.
15
 *
16
 * @DatabaseTable()
17
 * @SmartExclude({"EnableFields", "Language"})
18
 */
19
class FileStandalone extends AbstractModel
20
{
21
    /**
22
     * Focus point Y.
23
     *
24
     * @var int
25
     * @DatabaseField(type="int")
26
     */
27
    protected $focusPointY;
28
29
    /**
30
     * Focus point X.
31
     *
32
     * @var int
33
     * @DatabaseField(type="int")
34
     */
35
    protected $focusPointX;
36
37
    /**
38
     * @var string
39
     * @DatabaseField(type="string")
40
     */
41
    protected $relativeFilePath;
42
43
    /**
44
     * Get Y.
45
     *
46
     * @return int
47
     */
48
    public function getFocusPointY()
49
    {
50
        return $this->focusPointY;
51
    }
52
53
    /**
54
     * Set Y.
55
     *
56
     * @param int $focusPointY
57
     */
58
    public function setFocusPointY($focusPointY)
59
    {
60
        $this->focusPointY = $focusPointY;
61
    }
62
63
    /**
64
     * Get X.
65
     *
66
     * @return int
67
     */
68
    public function getFocusPointX()
69
    {
70
        return $this->focusPointX;
71
    }
72
73
    /**
74
     * Set X.
75
     *
76
     * @param int $focusPointX
77
     */
78
    public function setFocusPointX($focusPointX)
79
    {
80
        $this->focusPointX = $focusPointX;
81
    }
82
}
83