1 | <?php |
||
17 | class AdaptersListener |
||
18 | { |
||
19 | /** |
||
20 | * Entity Manager. |
||
21 | * |
||
22 | * @var EntityManager |
||
23 | */ |
||
24 | private $entityManager; |
||
25 | |||
26 | /** |
||
27 | * Paywall Omnipay config. |
||
28 | * |
||
29 | * @var array |
||
30 | */ |
||
31 | private $config; |
||
32 | |||
33 | /** |
||
34 | * Construct. |
||
35 | * |
||
36 | * @param EntityManager $entityManager |
||
37 | * @param array $config |
||
38 | */ |
||
39 | public function __construct(EntityManager $entityManager, array $config) |
||
44 | |||
45 | /** |
||
46 | * Register external adapters. |
||
47 | */ |
||
48 | public function registerExternalAdapters() |
||
52 | |||
53 | /** |
||
54 | * Install external adapters. |
||
55 | */ |
||
56 | private function installAdapters() |
||
84 | } |
||
85 |