| 1 | <?php |
||
| 33 | 1 | class Helpers |
|
| 34 | { |
||
| 35 | /** |
||
| 36 | * Implement nette smart magic |
||
| 37 | */ |
||
| 38 | 1 | use Nette\SmartObject; |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @var Phone\Phone |
||
| 42 | */ |
||
| 43 | private $phone; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param Phone\Phone $phone |
||
| 47 | */ |
||
| 48 | public function __construct(Phone\Phone $phone) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param string $phone |
||
| 55 | * @param string $country |
||
| 56 | * @param int $format |
||
| 57 | * |
||
| 58 | * @return string |
||
| 59 | */ |
||
| 60 | public function phone( |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @return Phone\Phone |
||
| 77 | */ |
||
| 78 | public function getPhoneNumberService() : Phone\Phone |
||
| 82 | } |
||
| 83 |