We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aecbe19 commit 4e56e55Copy full SHA for 4e56e55
src/Mapping/Mapper.php
@@ -41,8 +41,8 @@ public function __construct(array &$mappings = null)
41
);
42
}
43
44
- $this->classMap[$mapping->getClassName()] = $mapping;
45
- $this->aliasMap[$mapping->getClassAlias()] = $mapping->getClassName();
+ $this->classMap[ltrim($mapping->getClassName(), "\\")] = $mapping;
+ $this->aliasMap[ltrim($mapping->getClassAlias(), "\\")] = $mapping->getClassName();
46
47
48
0 commit comments