| @@ 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 |
|
| @@ 705-712 (lines=8) @@ | ||
| 702 | /** |
|
| 703 | * @return \Shopware\Connect\Gateway\PDO |
|
| 704 | */ |
|
| 705 | private function getConnectPDOGateway() |
|
| 706 | { |
|
| 707 | if (!$this->connectGateway) { |
|
| 708 | $this->connectGateway = new PDO(Shopware()->Db()->getConnection()); |
|
| 709 | } |
|
| 710 | ||
| 711 | return $this->connectGateway; |
|
| 712 | } |
|
| 713 | ||
| 714 | /** |
|
| 715 | * @param string $action |
|