src/RawPHP/RawContainer/Container.php
protected function resolveNonClass( ReflectionParameter $parameter )
    {
        if ( $parameter->isDefaultValueAvailable() )
        {
            return $parameter->getDefaultValue();
        }

        throw new BindingResolutionException( sprintf( 'Unresolvable dependency resolving %s in class %s.',
                                                       $parameter->name, $parameter->getDeclaringClass()->name
                                              )
        );
    }
protected function resolveNonClass( ReflectionParameter $parameter )
    {
        if ( $parameter->isDefaultValueAvailable() )
        {
            return $parameter->getDefaultValue();
        }

        throw new BindingResolutionException( sprintf( 'Unresolvable dependency resolving %s in class %s.',
                                                       $parameter->name, $parameter->getDeclaringClass()->name
                                              )
        );
    }
Resolve a non-class hinted dependency.

@param ReflectionParameter $parameter

@return mixed

@throws BindingResolutionException