src/Robo/Datastore/FileStore.php
public function set($key, $data) {
    $path = $this->getFileName($key, TRUE);
    file_put_contents($path, json_encode($data));
  }
public function set($key, $data) {
    $path = $this->getFileName($key, TRUE);
    file_put_contents($path, json_encode($data));
  }
public function set ( $ key , $ data ) { $ path = $ this -> getFileName ( $ key , TRUE ) ; file_put_contents ( $ path , json_encode ( $ data ) ) ; }
Saves a value with the given key.

@param string $key
A key.
@param mixed $data
Data to save to the store.
Saves a value with the given key .