src/Module/Module.php
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;
    }
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;
    }
Setter of $dependencyNames

@param Modules $dependencies