public function set($path, $value)
    {
        if (strpos($path, '/') === false) {
            $this->data[$path] = $value;

            return $this;
        }

        $pathKeys = explode('/', $path);
        $key = array_pop($pathKeys);
        $data = &$this->data;
        foreach ($pathKeys as $pathKey) {
            if (is_array($data) && array_key_exists($pathKey, $data)) {
                $data = &$data[$pathKey];
            } else {
                continue;
            }
        }
        $data[$key] = $value;

        return $this;
    }