FileReference   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 58
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 58
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 metadata.
5
 */
6
7
namespace HDNET\Focuspoint\Domain\Model;
8
9
use HDNET\Autoloader\Annotation\DatabaseField;
10
use HDNET\Autoloader\Annotation\DatabaseTable;
11
12
/**
13
 * File metadata.
14
 *
15
 * @DatabaseTable("sys_file_reference")
16
 */
17
class FileReference extends AbstractModel
18
{
19
    /**
20
     * Focus point Y.
21
     *
22
     * @var int
23
     * @DatabaseField(sql="int(11) null")
24
     */
25
    protected $focusPointY;
26
27
    /**
28
     * Focus point X.
29
     *
30
     * @var int
31
     * @DatabaseField(sql="int(11) null")
32
     */
33
    protected $focusPointX;
34
35
    /**
36
     * Get Y.
37
     *
38
     * @return int
39
     */
40
    public function getFocusPointY()
41
    {
42
        return $this->focusPointY;
43
    }
44
45
    /**
46
     * Set Y.
47
     *
48
     * @param int $focusPointY
49
     */
50
    public function setFocusPointY($focusPointY)
51
    {
52
        $this->focusPointY = $focusPointY;
53
    }
54
55
    /**
56
     * Get X.
57
     *
58
     * @return int
59
     */
60
    public function getFocusPointX()
61
    {
62
        return $this->focusPointX;
63
    }
64
65
    /**
66
     * Set X.
67
     *
68
     * @param int $focusPointX
69
     */
70
    public function setFocusPointX($focusPointX)
71
    {
72
        $this->focusPointX = $focusPointX;
73
    }
74
}
75