src/Robo/Datastore/FileStore.php
protected function getFileName($key, $writable = FALSE) {
    $key = $this->cleanKey($key);

    if ($writable) {
      $this->ensureDirectoryWritable();
    }

    if (!$key) {
      throw new BltException('Could not save data to a file because it is missing an ID');
    }
    return $this->directory . '/' . $key;
  }
protected function getFileName($key, $writable = FALSE) {
    $key = $this->cleanKey($key);

    if ($writable) {
      $this->ensureDirectoryWritable();
    }

    if (!$key) {
      throw new BltException('Could not save data to a file because it is missing an ID');
    }
    return $this->directory . '/' . $key;
  }
protected function getFileName ( $ key , $ writable = FALSE ) { $ key = $ this -> cleanKey ( $ key ) ; if ( $ writable ) { $ this -> ensureDirectoryWritable ( ) ; } if ( ! $ key ) { throw new BltException ( 'Could not save data to a file because it is missing an ID' ) ; } return $ this -> directory . '/' . $ key ; }
Get a valid file name for the given key.

@param string $key
The data key to be written or read.

@return string A file path

@throws \Exception
Get a valid file name for the given key .