public function mergeDependencies($dependency = [])
    {
        $this->dependencies = array_merge((array) $dependency, (array) $this->getDependencies());
        $this->dependencies = Conversion::arrayObject($this->dependencies);
    }
public function mergeDependencies($dependency = [])
    {
        $this->dependencies = array_merge((array) $dependency, (array) $this->getDependencies());
        $this->dependencies = Conversion::arrayObject($this->dependencies);
    }
public function mergeDependencies ( $ dependency = [ ] ) { $ this -> dependencies = array_merge ( ( array ) $ dependency , ( array ) $ this -> getDependencies ( ) ) ; $ this -> dependencies = Conversion :: arrayObject ( $ this -> dependencies ) ; }
Merge to container.

@param (array) $dependency valid dependency

@since 2.0.3

@return void
Merge to container .