We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a45ce commit 0b83118Copy full SHA for 0b83118
src/Doctrine/DoctrineHelper.php
@@ -35,14 +35,12 @@
35
*/
36
final class DoctrineHelper
37
{
38
- private ?ManagerRegistry $registry;
39
- private ?array $mappingDriversByPrefix;
40
-
41
- public function __construct(private string $entityNamespace, ManagerRegistry $registry = null, array $annotatedPrefixes = null)
42
- {
+ public function __construct(
+ private string $entityNamespace,
+ private ?ManagerRegistry $registry = null,
+ private ?array $mappingDriversByPrefix = null,
+ ) {
43
$this->entityNamespace = trim($entityNamespace, '\\');
44
- $this->registry = $registry;
45
- $this->mappingDriversByPrefix = $annotatedPrefixes;
46
}
47
48
public function getRegistry(): ManagerRegistry
0 commit comments