src/main/php/de/codenamephp/platform/di/definitionsProvider/dependency/handler/ClassNamesInArray.php
public function addDependencies(array $dependenciesToAdd) {
    $this->setCollectedDependencies(array_merge(array_unique(array_merge($this->getCollectedDependencies(), $dependenciesToAdd))));
    return $this;
  }
public function addDependencies(array $dependenciesToAdd) {
    $this->setCollectedDependencies(array_merge(array_unique(array_merge($this->getCollectedDependencies(), $dependenciesToAdd))));
    return $this;
  }
public function addDependencies ( array $ dependenciesToAdd ) { $ this -> setCollectedDependencies ( array_merge ( array_unique ( array_merge ( $ this -> getCollectedDependencies ( ) , $ dependenciesToAdd ) ) ) ) ; return $ this ; }
Adds the given dependencies to the collectedDependencies without duplicating values and while maintining serial numerical index

@param string[] $dependenciesToAdd
@return $this
Adds the given dependencies to the collectedDependencies without duplicating values and while maintining serial numerical index