| 1 | <?php |
||
| 6 | abstract class AbstractAdapter |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var array |
||
| 10 | */ |
||
| 11 | protected $patternConfig = array(); |
||
| 12 | |||
| 13 | /** |
||
| 14 | * stores parsing patterns |
||
| 15 | * @var Pattern[] |
||
| 16 | */ |
||
| 17 | protected $patterns = array(); |
||
| 18 | |||
| 19 | /** |
||
| 20 | * |
||
| 21 | */ |
||
| 22 | public function __construct() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * |
||
| 29 | */ |
||
| 30 | protected function addPatterns() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param $data |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | public function parse($data) |
||
| 56 | } |
||
| 57 |