1 | <?php |
||
8 | class DbalStorage implements StorageInterface |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var Connection |
||
13 | */ |
||
14 | private $connection; |
||
15 | |||
16 | private $tableName; |
||
17 | |||
18 | private $query; |
||
19 | |||
20 | private $info; |
||
21 | |||
22 | public function __construct(Connection $connection, $tableName=null, $query=null) |
||
28 | |||
29 | /** |
||
30 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::writer() |
||
31 | */ |
||
32 | public function writer() |
||
42 | |||
43 | /** |
||
44 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::info() |
||
45 | */ |
||
46 | public function info() |
||
58 | |||
59 | /** |
||
60 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::reader() |
||
61 | */ |
||
62 | public function reader() |
||
66 | |||
67 | /** |
||
68 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::getFields() |
||
69 | */ |
||
70 | public function getFields() |
||
74 | } |
||
75 |