1 | <?php |
||
11 | abstract class AbstractAdapter implements Adapter |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @var ParserFactory |
||
16 | */ |
||
17 | protected $parserFactory; |
||
18 | |||
19 | /** |
||
20 | * Construct the adapter and set the parser factory variable. |
||
21 | * |
||
22 | * @see \Brendt\Stitcher\Factory\ParserFactory |
||
23 | */ |
||
24 | public function __construct() { |
||
27 | |||
28 | /** |
||
29 | * This function will get the parser based on the value provided. |
||
30 | * This value is parsed by the parser, or returned if no suitable parser was found. |
||
31 | * |
||
32 | * @param $value |
||
33 | * |
||
34 | * @return mixed |
||
35 | * |
||
36 | * @see \Brendt\Stitcher\Factory\ParserFactory |
||
37 | */ |
||
38 | protected function getData($value) { |
||
47 | |||
48 | } |
||
49 |