1 | <?php |
||
6 | abstract class AbstractAddressExtractor extends AbstractExtractor |
||
7 | { |
||
8 | |||
9 | protected $name; |
||
10 | protected $business; |
||
11 | protected $street1; |
||
12 | protected $street2; |
||
13 | protected $city; |
||
14 | protected $region; |
||
15 | protected $postCode; |
||
16 | protected $country; |
||
17 | protected $phone; |
||
18 | protected $fax; |
||
19 | |||
20 | protected $remainingRows; |
||
21 | |||
22 | abstract public function getBaseXpath(); |
||
23 | |||
24 | public function extract() |
||
81 | |||
82 | /** |
||
83 | * @return mixed |
||
84 | */ |
||
85 | public function getRemainingRows() |
||
89 | |||
90 | |||
91 | |||
92 | /** |
||
93 | * @return mixed |
||
94 | */ |
||
95 | public function getName() |
||
99 | |||
100 | /** |
||
101 | * @return mixed |
||
102 | */ |
||
103 | public function getBusiness() |
||
107 | |||
108 | /** |
||
109 | * @return mixed |
||
110 | */ |
||
111 | public function getStreet1() |
||
115 | |||
116 | /** |
||
117 | * @return mixed |
||
118 | */ |
||
119 | public function getStreet2() |
||
123 | |||
124 | /** |
||
125 | * @return mixed |
||
126 | */ |
||
127 | public function getCity() |
||
131 | |||
132 | /** |
||
133 | * @return mixed |
||
134 | */ |
||
135 | public function getRegion() |
||
139 | |||
140 | /** |
||
141 | * @return mixed |
||
142 | */ |
||
143 | public function getPostCode() |
||
147 | |||
148 | /** |
||
149 | * @return mixed |
||
150 | */ |
||
151 | public function getCountry() |
||
155 | |||
156 | /** |
||
157 | * @return mixed |
||
158 | */ |
||
159 | public function getPhone() |
||
163 | |||
164 | /** |
||
165 | * @return mixed |
||
166 | */ |
||
167 | public function getFax() |
||
171 | |||
172 | } |