diff --git a/src/Container.php b/src/Container.php index 233ceff..bbd0b93 100644 --- a/src/Container.php +++ b/src/Container.php @@ -854,7 +854,7 @@ private function resolveArgs(array $defaultArgs, array $args, $instance = null) * @param array $args Additional arguments to pass to the constructor. * @return object Returns an object instance. */ - private function createInstance($nid, array $args) + protected function createInstance($nid, array $args) { $rule = $this->makeRule($nid);