public function write($file, $format = 'json', $options = array())
	{
		return with(new Filesystem(new Local))->write($file, $this->processor($format)->objectToString($this->data, $options));
	}
public function write($file, $format = 'json', $options = array())
	{
		return with(new Filesystem(new Local))->write($file, $this->processor($format)->objectToString($this->data, $options));
	}
public function write ( $ file , $ format = 'json' , $ options = array ( ) ) { return with ( new Filesystem ( new Local ) ) -> write ( $ file , $ this -> processor ( $ format ) -> objectToString ( $ this -> data , $ options ) ) ; }
Write the contents of the registry to a file

@param   string  $file     Path to file to load
@param   string  $format   Format of the file [optional: defaults to JSON]
@param   mixed   $options  Options used by the formatter
@return  boolean  True on success
Write the contents of the registry to a file