Components/Config.php 1 location
|
@@ 641-648 (lines=8) @@
|
| 638 |
|
/** |
| 639 |
|
* @return \Shopware\Connect\Gateway\PDO |
| 640 |
|
*/ |
| 641 |
|
private function getConnectPDOGateway() |
| 642 |
|
{ |
| 643 |
|
if (!$this->connectGateway) { |
| 644 |
|
$this->connectGateway = new PDO(Shopware()->Db()->getConnection()); |
| 645 |
|
} |
| 646 |
|
|
| 647 |
|
return $this->connectGateway; |
| 648 |
|
} |
| 649 |
|
} |
| 650 |
|
|
Components/ConnectFactory.php 1 location
|
@@ 330-337 (lines=8) @@
|
| 327 |
|
/** |
| 328 |
|
* @return \Shopware\Connect\Gateway\PDO |
| 329 |
|
*/ |
| 330 |
|
private function getConnectPDOGateway() |
| 331 |
|
{ |
| 332 |
|
if (!$this->connectGateway) { |
| 333 |
|
$this->connectGateway = new PDO(Shopware()->Db()->getConnection()); |
| 334 |
|
} |
| 335 |
|
|
| 336 |
|
return $this->connectGateway; |
| 337 |
|
} |
| 338 |
|
|
| 339 |
|
/** |
| 340 |
|
* @return ProductQuery |