@@ 37-49 (lines=13) @@ | ||
34 | * |
|
35 | * @internal param DataCollectorLoggerInterface $logger |
|
36 | */ |
|
37 | public function __construct( |
|
38 | Manager $manager, |
|
39 | string $clientName, |
|
40 | string $databaseName, |
|
41 | string $collectionName, |
|
42 | array $options = [], |
|
43 | EventDispatcherInterface $eventDispatcher |
|
44 | ) { |
|
45 | parent::__construct($manager, $databaseName, $collectionName, $options); |
|
46 | $this->eventDispatcher = $eventDispatcher; |
|
47 | $this->clientName = $clientName; |
|
48 | $this->databaseName = $databaseName; |
|
49 | } |
|
50 | ||
51 | /** |
|
52 | * {@inheritdoc} |
@@ 33-44 (lines=12) @@ | ||
30 | * |
|
31 | * @internal param DataCollectorLoggerInterface $logger |
|
32 | */ |
|
33 | public function __construct( |
|
34 | Manager $manager, |
|
35 | string $clientName, |
|
36 | string $databaseName, |
|
37 | array $options = [], |
|
38 | EventDispatcherInterface $eventDispatcher |
|
39 | ) { |
|
40 | parent::__construct($manager, $databaseName, $options); |
|
41 | $this->eventDispatcher = $eventDispatcher; |
|
42 | $this->clientName = $clientName; |
|
43 | $this->databaseName = $databaseName; |
|
44 | } |
|
45 | ||
46 | /** |
|
47 | * {@inheritdoc} |