if (!function_exists("Folded\getAllConfig")) {
    /**
     * Returns all the configurations.
     *
     * @param string $path The configuration path.
     *
     * @throws InvalidArgumentException If the path is empty.
     *
     * @return array<string,mixed>
     *
     * @since 0.1.0
     *