make($fullyClassifiedName, $this->useRegistry, $this->useRegistryForDependencies); if ($this->isRegistrable($class) === false) { throw new \LogicException('Class is not registrable: ' . esc_html($fullyClassifiedName)); } $this->registerClass($class); } $this->afterRegister(); } }