public function dependsOn(string $name) : bool
    {
        if (!parent::dependsOn($name)) {
            return false;
        }

        if (is_array($this->maxCallback)) {
            return $this->containsArgumentsPattern($this->maxCallback['arguments'], $name);
        }

        if (is_array($this->minCallback)) {
            return $this->containsArgumentsPattern($this->minCallback['arguments'], $name);
        }

        return false;
    }
public function dependsOn(string $name) : bool
    {
        if (!parent::dependsOn($name)) {
            return false;
        }

        if (is_array($this->maxCallback)) {
            return $this->containsArgumentsPattern($this->maxCallback['arguments'], $name);
        }

        if (is_array($this->minCallback)) {
            return $this->containsArgumentsPattern($this->minCallback['arguments'], $name);
        }

        return false;
    }
{@inheritdoc}