Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Pool.php
Original file line number Diff line number Diff line change
@@ -49,6 +49,11 @@ public function drop($name)
if (array_key_exists($name, $this->mappers)) {
unset($this->mappers[$name]);
}
foreach ($this->repositories as $space => $repository) {
if (strpos($space, $name . '.') !== false) {
unset($this->repositories[$space]);
}
}
}

public function getMapper($name)

0 comments on commit e6503b5

Please sign in to comment.