public static function normalizePath($path)
    {
        if (is_string($path)) {
            return explode('.', $path);
        }

        if (!is_array($path)) {
            return [$path];
        }

        return $path;
    }
public static function normalizePath($path)
    {
        if (is_string($path)) {
            return explode('.', $path);
        }

        if (!is_array($path)) {
            return [$path];
        }

        return $path;
    }
public static function normalizePath ( $ path ) { if ( is_string ( $ path ) ) { return explode ( '.' , $ path ) ; } if ( ! is_array ( $ path ) ) { return [ $ path ] ; } return $ path ; }
Normalize property paths.

@param string|int|mixed[] $path the path

@return mixed[] the normalized path
Normalize property paths .