Completed
Push — master ( d8adec...3d8ab4 )
by Daryl
03:59
created

Info_Window_Model::position()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Clubdeuce\WPLib\Components\GoogleMaps;
4
5
class Info_Window_Model extends \WPLib_Model_Base {
6
7
    /**
8
     * @var string
9
     */
10
    protected $_content = '';
11
12
    /**
13
     * @var int
14
     */
15
    protected $_pixel_offset;
16
17
    /**
18
     * @var array
19
     */
20
    protected $_position;
21
22
    /**
23
     * @var int
24
     */
25
    protected $_max_width;
26
27
    /**
28
     * @return string
29
     */
30
    function content() {
31
32
        return $this->_content;
33
34
    }
35
36
    /**
37
     * @return int
38
     */
39
    function pixel_offset() {
40
41
        return $this->_pixel_offset;
42
43
    }
44
45
    /**
46
     * @return array
47
     */
48
    function position() {
49
50
        return $this->_position;
51
52
    }
53
54
    /**
55
     * @return int
56
     */
57
    function max_width() {
58
59
        return $this->_max_width;
60
61
    }
62
63
}
64