protected function _normalizePath($path, $separator)
    {
        try {
            return $this->_normalizeIterable($path);
        } catch (InvalidArgumentException $e) {
            return $this->_stringableSplit($path, $separator);
        }
    }
protected function _normalizePath($path, $separator)
    {
        try {
            return $this->_normalizeIterable($path);
        } catch (InvalidArgumentException $e) {
            return $this->_stringableSplit($path, $separator);
        }
    }
protected function _normalizePath ( $ path , $ separator ) { try { return $ this -> _normalizeIterable ( $ path ) ; } catch ( InvalidArgumentException $ e ) { return $ this -> _stringableSplit ( $ path , $ separator ) ; } }
Normalizes a path.

Will try to normalize to a list of path segments. If this is not possible, will try to normalize to a string,
and the split that string into segments using the specified separator.

@since [*next-version*]

@param array|stdClass|Traversable|string|Stringable $path      The path to normalize.
@param string|Stringable                            $separator The separator used to split a string path into segments.

@return array|stdClass|Traversable The normalized path.
Normalizes a path .