Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | final class IntProperty extends AbstractProperty |
||
14 | { |
||
15 | /** |
||
16 | * IntProperty constructor. |
||
17 | */ |
||
18 | public function __construct() |
||
19 | { |
||
20 | $this->formatCode = NumberFormat::FORMAT_NUMBER; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Renders a property and returns the value to be written. |
||
25 | * |
||
26 | * @param $object |
||
27 | * @return mixed |
||
28 | * @throws PropertyException |
||
29 | */ |
||
30 | public function renderProperty(object $object) |
||
37 | } |
||
38 | } |
||
39 |