code: public function setDependencies($dependencies)
      {
          if(is_array($dependencies)){//todo should not be allowed + unit test with the ModuleManager!
              $dependencies = $this->buildModulesFromData($dependencies);
          }
          $this->dependencies = $dependencies;
      }
docs: Setter of $dependencyNames
  
  @param Modules $dependencies