| @@ 321-328 (lines=8) @@ | ||
| 318 | /** |
|
| 319 | * @return \Shopware\Connect\Gateway\PDO |
|
| 320 | */ |
|
| 321 | private function getConnectPDOGateway() |
|
| 322 | { |
|
| 323 | if (!$this->connectGateway) { |
|
| 324 | $this->connectGateway = new PDO(Shopware()->Db()->getConnection()); |
|
| 325 | } |
|
| 326 | ||
| 327 | return $this->connectGateway; |
|
| 328 | } |
|
| 329 | ||
| 330 | /** |
|
| 331 | * @return ProductQuery |
|
| @@ 633-640 (lines=8) @@ | ||
| 630 | /** |
|
| 631 | * @return \Shopware\Connect\Gateway\PDO |
|
| 632 | */ |
|
| 633 | private function getConnectPDOGateway() |
|
| 634 | { |
|
| 635 | if (!$this->connectGateway) { |
|
| 636 | $this->connectGateway = new PDO(Shopware()->Db()->getConnection()); |
|
| 637 | } |
|
| 638 | ||
| 639 | return $this->connectGateway; |
|
| 640 | } |
|
| 641 | } |
|
| 642 | ||