protected function normalizeName(string $name): string
    {
        $delimiter = FinderContract::HINT_PATH_DELIMITER;

        if (\mb_strpos($name, $delimiter) === false) {
            return \str_replace('/', '.', $name);
        }

        [$namespace, $name] = \explode($delimiter, $name);

        return $namespace . $delimiter . \str_replace('/', '.', $name);
    }
protected function normalizeName(string $name): string
    {
        $delimiter = FinderContract::HINT_PATH_DELIMITER;

        if (\mb_strpos($name, $delimiter) === false) {
            return \str_replace('/', '.', $name);
        }

        [$namespace, $name] = \explode($delimiter, $name);

        return $namespace . $delimiter . \str_replace('/', '.', $name);
    }
protected function normalizeName ( string $ name ) : string { $ delimiter = FinderContract :: HINT_PATH_DELIMITER ; if ( \ mb_strpos ( $ name , $ delimiter ) === false ) { return \ str_replace ( '/' , '.' , $ name ) ; } [ $ namespace , $ name ] = \ explode ( $ delimiter , $ name ) ; return $ namespace . $ delimiter . \ str_replace ( '/' , '.' , $ name ) ; }
Normalize a view name.

@param string $name

@return string
Normalize a view name .