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 | * @return null |
||
31 | */ |
||
32 | public function getQuery() |
||
36 | |||
37 | /** |
||
38 | * @param null $query |
||
39 | */ |
||
40 | public function setQuery($query) |
||
44 | |||
45 | /** |
||
46 | * @return null |
||
47 | */ |
||
48 | public function getTableName() |
||
52 | |||
53 | /** |
||
54 | * @param null $tableName |
||
55 | */ |
||
56 | public function setTableName($tableName) |
||
60 | |||
61 | /** |
||
62 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::writer() |
||
63 | */ |
||
64 | public function writer() |
||
74 | |||
75 | /** |
||
76 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::info() |
||
77 | */ |
||
78 | public function info() |
||
90 | |||
91 | /** |
||
92 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::reader() |
||
93 | */ |
||
94 | public function reader() |
||
98 | |||
99 | /** |
||
100 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::getFields() |
||
101 | */ |
||
102 | public function getFields() |
||
106 | } |
||
107 |