1 | <?php |
||
19 | final class GatewayFactory |
||
20 | { |
||
21 | /** @var \eZ\Publish\Core\Persistence\Legacy\SharedGateway\Gateway */ |
||
22 | private $fallbackGateway; |
||
23 | |||
24 | /** @var \Traversable|\eZ\Publish\Core\Persistence\Legacy\SharedGateway\Gateway[] */ |
||
25 | private $gateways; |
||
26 | |||
27 | public function __construct(Gateway $fallbackGateway, Traversable $gateways) |
||
32 | |||
33 | /** |
||
34 | * @throws \Doctrine\DBAL\DBALException |
||
35 | */ |
||
36 | public function buildSharedGateway(Connection $connection): Gateway |
||
40 | |||
41 | private function getGatewayForDatabasePlatform(string $currentDatabasePlatformName) |
||
51 | } |
||
52 |