<?php

namespace KupShop\FeedGeneratorBundle\Configuration;

use KupShop\FeedGeneratorBundle\Configuration\Nodes\INode;

interface IHasIterableNodes
{
    /** @return INode[] */
    public function getNodes(): array;

    /** @param INode[]|array */
    public function setNodes(array $nodes);

    public function hasNodes(): bool;

    public function addNode(INode $node);

    public function accept(IConfigurationVisitor $visitor, &$handle = null);
}
