LdapTools\Resolver\ParameterResolver::getDependentAttributes PHP Method

getDependentAttributes() protected method

Checks for required parameter attributes that depend on other parameter attributes. Returns an array of of dependencies.
protected getDependentAttributes ( array $parameters ) : array
$parameters array
return array
    protected function getDependentAttributes($parameters)
    {
        $dependencies = [];
        foreach ($parameters as $parameter) {
            if (isset($this->requirements[$parameter]) && !in_array($parameter, $this->resolvedParameters)) {
                $dependencies[] = $parameter;
            }
        }
        return $dependencies;
    }