protected function _createInstance(
        ObjectDefinition $definition, array $parameters)
    {
        $classReflection = new ReflectionClass($definition->getClassName());

        $args = $this->_getMethodParameters(
            $definition->getConstructor(),
            $classReflection->getConstructor(),
            $parameters
        );

        return $classReflection->newInstanceArgs($args);
    }