classes/phing/util/DataStore.php
public function put($key, $value, $autocommit = false)
    {
        $this->data[$key] = $value;

        if ($autocommit) {
            $this->commit();
        }
    }
public function put($key, $value, $autocommit = false)
    {
        $this->data[$key] = $value;

        if ($autocommit) {
            $this->commit();
        }
    }
public function put ( $ key , $ value , $ autocommit = false ) { $ this -> data [ $ key ] = $ value ; if ( $ autocommit ) { $ this -> commit ( ) ; } }
Adds a value to the data store

@param string $key the key
@param mixed $value the value
@param boolean $autocommit whether to auto-commit (write)
the data store to disk

@return void
Adds a value to the data store