Example #1
0
 /**
  * Load a string into the registry
  *
  * @param   string  $data     String to load into the registry
  * @param   string  $format   Format of the string
  * @param   array   $options  Options used by the formatter
  *
  * @return  static  Return this object to support chaining.
  *
  * @since   2.0
  */
 public function loadString($data, $format = Format::JSON, $options = array())
 {
     $this->load(RegistryHelper::loadString($data, $format, $options), false);
     return $this;
 }