public function save()
    {
        $path = $this->_buildParamsPath($this->alias);

        if (file_exists($path)) {
            chmod($path, 0644);
        }

        $params = '';

        foreach ($this->params as $key => $value) {
          $params .= $key.'='.$value."\n";
        }

        try {
          file_put_contents($path, $params);
        } catch (Exception $e) {
            throw new \RuntimeException($e->getMessage());
        }

        chmod($path, 0444);

        return $this;
    }