loopit-8.x-1.x-dev/src/Iterator/AggregateIterator.php

src/Iterator/AggregateIterator.php
<?php

namespace Drupal\loopit\Iterator;

use Drupal\loopit\Aggregate\AggregateInterface;


class AggregateIterator extends \RecursiveArrayIterator implements AggregateIteratorInterface {
  use AggregateIteratorTrait;

  public function __construct(AggregateInterface $aggregate) {
    $this->setAggregate($aggregate);
    parent::__construct($this->aggregate->getInput());
  }
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc