concrete/src/Config/Repository/Repository.php
public function save($key, $value)
    {
        list($namespace, $group, $item) = $this->parseKey($key);
        $collection = $this->getCollection($group, $namespace);
        unset($this->items[$collection]);

        if ($this->saver->save($item, $value, $this->environment, $group, $namespace)) {
            $this->load($group, $namespace, $this->getCollection($group, $namespace));

            return true;
        }

        return false;
    }
public function save($key, $value)
    {
        list($namespace, $group, $item) = $this->parseKey($key);
        $collection = $this->getCollection($group, $namespace);
        unset($this->items[$collection]);

        if ($this->saver->save($item, $value, $this->environment, $group, $namespace)) {
            $this->load($group, $namespace, $this->getCollection($group, $namespace));

            return true;
        }

        return false;
    }
public function save ( $ key , $ value ) { list ( $ namespace , $ group , $ item ) = $ this -> parseKey ( $ key ) ; $ collection = $ this -> getCollection ( $ group , $ namespace ) ; unset ( $ this -> items [ $ collection ] ) ; if ( $ this -> saver -> save ( $ item , $ value , $ this -> environment , $ group , $ namespace ) ) { $ this -> load ( $ group , $ namespace , $ this -> getCollection ( $ group , $ namespace ) ) ; return true ; } return false ; }
Save a key.

@param string $key
@param mixed $value

@return bool
Save a key .