| @@ 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 |
|
| @@ 657-664 (lines=8) @@ | ||
| 654 | /** |
|
| 655 | * @return \Shopware\Connect\Gateway\PDO |
|
| 656 | */ |
|
| 657 | private function getConnectPDOGateway() |
|
| 658 | { |
|
| 659 | if (!$this->connectGateway) { |
|
| 660 | $this->connectGateway = new PDO(Shopware()->Db()->getConnection()); |
|
| 661 | } |
|
| 662 | ||
| 663 | return $this->connectGateway; |
|
| 664 | } |
|
| 665 | ||
| 666 | /** |
|
| 667 | * @param string $action |
|