protected function getFullNamespace($type, $strNs)
    {
        if ($type !== '' && $type{0} != '\\') {
            //create a full qualified namespace
            if ($strNs != '') {
                $type = '\\' . $strNs . '\\' . $type;
            }
        }
        return $type;
    }
protected function getFullNamespace($type, $strNs)
    {
        if ($type !== '' && $type{0} != '\\') {
            //create a full qualified namespace
            if ($strNs != '') {
                $type = '\\' . $strNs . '\\' . $type;
            }
        }
        return $type;
    }
protected function getFullNamespace ( $ type , $ strNs ) { if ( $ type !== '' && $ type { 0 } != '\\' ) { //create a full qualified namespace if ( $ strNs != '' ) { $ type = '\\' . $ strNs . '\\' . $ type ; } } return $ type ; }
Convert a type name to a fully namespaced type name.

@param string $type  Type name (simple type or class name)
@param string $strNs Base namespace that gets prepended to the type name

@return string Fully-qualified type name with namespace
Convert a type name to a fully namespaced type name .