Exemple #1
0
 /**
  * Merge a Registry object into this one
  *
  * @param   Registry  $source     Source Registry object to merge.
  * @param   boolean   $recursive  True to support recursive merge the children values.
  *
  * @return  Registry  Return this object to support chaining.
  */
 public function merge(Registry $source, $recursive = false)
 {
     $this->bindData($this->data, $source->toArray(), $recursive);
     return $this;
 }