src/Robo/Datastore/FileStore.php
public function get($key) {
    $out = NULL;
    // Read the json encoded value from disk if it exists.
    $path = $this->getFileName($key);
    if (file_exists($path)) {
      $out = file_get_contents($path);
      $out = json_decode($out, TRUE);
    }
    return $out;
  }
public function get($key) {
    $out = NULL;
    // Read the json encoded value from disk if it exists.
    $path = $this->getFileName($key);
    if (file_exists($path)) {
      $out = file_get_contents($path);
      $out = json_decode($out, TRUE);
    }
    return $out;
  }
public function get ( $ key ) { $ out = NULL ; // Read the json encoded value from disk if it exists. $ path = $ this -> getFileName ( $ key ) ; if ( file_exists ( $ path ) ) { $ out = file_get_contents ( $ path ) ; $ out = json_decode ( $ out , TRUE ) ; } return $ out ; }
Reads retrieves data from the store.

@param string $key
A key.

@return mixed The value fpr the given key or null.
Reads retrieves data from the store .