Completed
Push — master ( 934849...10255c )
by Daryl
01:34
created

Info_Window_Model::content()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

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