public function addDependencies($resourceId, array $dependencies) {
        $this->_resourceGraph[$resourceId] = array_merge($this->_resourceGraph[$resourceId], $dependencies);
        return $this;
    }
public function addDependencies($resourceId, array $dependencies) {
        $this->_resourceGraph[$resourceId] = array_merge($this->_resourceGraph[$resourceId], $dependencies);
        return $this;
    }
public function addDependencies ( $ resourceId , array $ dependencies ) { $ this -> _resourceGraph [ $ resourceId ] = array_merge ( $ this -> _resourceGraph [ $ resourceId ] , $ dependencies ) ; return $ this ; }
This method is used to add multiple dependencies to a resource.
@param string $resourceId A unique ID that repesents the resource you
want to add dependencies to.
@param array $dependencies An array that contains the dependencies you want
to apply to the resource.
@return
This method is used to add multiple dependencies to a resource .