src/Facade.php
protected static function resolveClassNameSpace($classNamespace)
    {
        if (! \is_string($classNamespace)) {
            throw ClassNamespaceResolverException::isNotString();
        }

        if (! \class_exists($classNamespace)) {
            throw ClassNamespaceResolverException::isNotExist();
        }

        $classNamespace = self::classNamespaceDecorator($classNamespace);

        $classInstance = new $classNamespace();

        self::setClass($classNamespace, $classInstance);

        return $classInstance;
    }
protected static function resolveClassNameSpace($classNamespace)
    {
        if (! \is_string($classNamespace)) {
            throw ClassNamespaceResolverException::isNotString();
        }

        if (! \class_exists($classNamespace)) {
            throw ClassNamespaceResolverException::isNotExist();
        }

        $classNamespace = self::classNamespaceDecorator($classNamespace);

        $classInstance = new $classNamespace();

        self::setClass($classNamespace, $classInstance);

        return $classInstance;
    }
protected static function resolveClassNameSpace ( $ classNamespace ) { if ( ! \ is_string ( $ classNamespace ) ) { throw ClassNamespaceResolverException :: isNotString ( ) ; } if ( ! \ class_exists ( $ classNamespace ) ) { throw ClassNamespaceResolverException :: isNotExist ( ) ; } $ classNamespace = self :: classNamespaceDecorator ( $ classNamespace ) ; $ classInstance = new $ classNamespace ( ) ; self :: setClass ( $ classNamespace , $ classInstance ) ; return $ classInstance ; }
Resolver for service class namespace.
Set the resolved service class instance to the class property.

@param  string  $classNamespace

@return mixed
Resolver for service class namespace . Set the resolved service class instance to the class property .