public static function ds($path, $endSlash = false) {
        $path = str_replace(array('\\', '/'), static::SEPARATOR, $path);

        if ($endSlash && substr($path, -1) !== static::SEPARATOR) {
            $path .= static::SEPARATOR;
        }

        return $path;
    }