1 | <?php |
||
5 | class PhoneHelper extends AbstractFormHelper |
||
6 | { |
||
7 | private $phone; |
||
8 | |||
9 | /** |
||
10 | * @param $phone |
||
11 | * @return $this |
||
12 | */ |
||
13 | 2 | public function set($phone) |
|
19 | |||
20 | /** |
||
21 | * @return $this |
||
22 | */ |
||
23 | 2 | public function removePhoneSpecifications() |
|
30 | |||
31 | /** |
||
32 | * @param $length |
||
33 | * @return $this|bool |
||
34 | */ |
||
35 | 2 | public function formatPhoneLength($length = 10) |
|
50 | |||
51 | /** |
||
52 | * @return mixed |
||
53 | */ |
||
54 | 2 | public function get() |
|
58 | |||
59 | } |
||
60 | |||
61 |