1 | <?php |
||
20 | class VOInteger extends ValueObject implements \Countable, Diffable |
||
21 | { |
||
22 | /** |
||
23 | * @param $value |
||
24 | */ |
||
25 | public function __construct($value) |
||
33 | |||
34 | /** |
||
35 | * @return integer |
||
36 | */ |
||
37 | public function getValue() |
||
41 | |||
42 | /** |
||
43 | * @return integer |
||
44 | */ |
||
45 | public function count() |
||
49 | |||
50 | /** |
||
51 | * @param ValueObjectInterface $object |
||
52 | * @return static |
||
53 | */ |
||
54 | public function diff(ValueObjectInterface $object) |
||
58 | } |
||
59 |