public function allowsRecursion(): bool
    {
        foreach ($this->resolvers as $resolver) {
            if ($resolver->allowsRecursion()) {
                return true;
            }
        }

        return false;
    }
public function allowsRecursion(): bool
    {
        foreach ($this->resolvers as $resolver) {
            if ($resolver->allowsRecursion()) {
                return true;
            }
        }

        return false;
    }
public function allowsRecursion ( ) : bool { foreach ( $ this -> resolvers as $ resolver ) { if ( $ resolver -> allowsRecursion ( ) ) { return true ; } } return false ; }
Check if any of the resolvers supports recursion.

@return bool true if any resolver supports recursion
Check if any of the resolvers supports recursion .