1 | <?php |
||
9 | class DbalStorage implements StorageInterface |
||
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 | public function getConnection() |
||
33 | |||
34 | /** |
||
35 | */ |
||
36 | public function getQuery() |
||
40 | |||
41 | /** |
||
42 | * @param null $query |
||
43 | */ |
||
44 | public function setQuery($query) |
||
48 | |||
49 | /** |
||
50 | */ |
||
51 | public function getTableName() |
||
55 | |||
56 | /** |
||
57 | * @param null $tableName |
||
58 | */ |
||
59 | public function setTableName($tableName) |
||
63 | |||
64 | /** |
||
65 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::writer(). |
||
66 | */ |
||
67 | public function writer() |
||
77 | |||
78 | /** |
||
79 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::info(). |
||
80 | */ |
||
81 | public function info() |
||
93 | |||
94 | /** |
||
95 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::reader(). |
||
96 | */ |
||
97 | public function reader() |
||
101 | |||
102 | /** |
||
103 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::getFields(). |
||
104 | */ |
||
105 | public function getFields() |
||
109 | } |
||
110 |