| 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 | /** |
||
| 30 | */ |
||
| 31 | public function getQuery() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param null $query |
||
| 38 | */ |
||
| 39 | public function setQuery($query) |
||
| 43 | |||
| 44 | /** |
||
| 45 | */ |
||
| 46 | public function getTableName() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param null $tableName |
||
| 53 | */ |
||
| 54 | public function setTableName($tableName) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::writer(). |
||
| 61 | */ |
||
| 62 | public function writer() |
||
| 72 | |||
| 73 | /** |
||
| 74 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::info(). |
||
| 75 | */ |
||
| 76 | public function info() |
||
| 88 | |||
| 89 | /** |
||
| 90 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::reader(). |
||
| 91 | */ |
||
| 92 | public function reader() |
||
| 96 | |||
| 97 | /** |
||
| 98 | * (non-PHPdoc) @see \Mathielen\ImportEngine\Storage\StorageInterface::getFields(). |
||
| 99 | */ |
||
| 100 | public function getFields() |
||
| 104 | } |
||
| 105 |