src/Ubiquity/cache/ClassUtils.php
public static function getNamespaceFromParts($parts) {
		$resultArray = [ ];
		if (! \is_array ( $parts )) {
			$parts = [ $parts ];
		}
		foreach ( $parts as $part ) {
			$resultArray = \array_merge ( $resultArray, \explode ( "\\", $part ) );
		}
		$resultArray = \array_diff ( $resultArray, [ "" ] );
		return \implode ( "\\", $resultArray );
	}
public static function getNamespaceFromParts($parts) {
		$resultArray = [ ];
		if (! \is_array ( $parts )) {
			$parts = [ $parts ];
		}
		foreach ( $parts as $part ) {
			$resultArray = \array_merge ( $resultArray, \explode ( "\\", $part ) );
		}
		$resultArray = \array_diff ( $resultArray, [ "" ] );
		return \implode ( "\\", $resultArray );
	}
public static function getNamespaceFromParts ( $ parts ) { $ resultArray = [ ] ; if ( ! \ is_array ( $ parts ) ) { $ parts = [ $ parts ] ; } foreach ( $ parts as $ part ) { $ resultArray = \ array_merge ( $ resultArray , \ explode ( "\\" , $ part ) ) ; } $ resultArray = \ array_diff ( $ resultArray , [ "" ] ) ; return \ implode ( "\\" , $ resultArray ) ; }
Returns a cleanly namespace

@param array|string $parts
@return string
Returns a cleanly namespace