src/Entity/Mod.php
public function setDependencies(array $dependencies)
    {
        $this->dependencies = array_values(array_filter($dependencies, function ($dependency): bool {
            return $dependency instanceof Dependency;
        }));
        return $this;
    }
public function setDependencies(array $dependencies)
    {
        $this->dependencies = array_values(array_filter($dependencies, function ($dependency): bool {
            return $dependency instanceof Dependency;
        }));
        return $this;
    }
public function setDependencies ( array $ dependencies ) { $ this -> dependencies = array_values ( array_filter ( $ dependencies , function ( $ dependency ) : bool { return $ dependency instanceof Dependency ; } ) ) ; return $ this ; }
Sets the dependencies of the mod.
@param array|Dependency[] $dependencies
@return $this Implementing fluent interface.
Sets the dependencies of the mod .