public function getManager()
{
if (!$this->manager) {
$this->manager = call_user_func($this->factory);
if (!$this->manager instanceof Manager) {
throw new \LogicException('Factory supplied to LazySchemaManager must return implementation of Manager.');
}
}
return $this->manager;
}