Skip to content

Commit

Permalink
added class map merging
Browse files Browse the repository at this point in the history
  • Loading branch information
metalagman committed Jul 21, 2017
1 parent 76b2924 commit b121717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/ClassMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static function getInstance()
*/
public function setClassMap($classMap)
{
$this->classMap = $classMap;
$this->classMap = array_merge($this->classMap, $classMap);
}

public function createObject($className)
Expand Down

0 comments on commit b121717

Please sign in to comment.