merge() публичный Метод

Merges the specified options with these ones. Values with same ID will be replaced.
public merge ( array | OptionsArray $options ) : void
$options array | OptionsArray The options to be merged.
Результат void
Пример #1
0
 public function testMerge()
 {
     $component = new OptionsArray(array('a'));
     $component->merge(array('b', 'c'));
     $this->assertEquals($component->options, array('a', 'b', 'c'));
 }