You are here

deploy_auto_plan.NoDependencyIterator.class.php in Deploy - Content Staging 7.2

NoDependencyIterator plugin class definition.

File

modules/deploy_auto_plan/plugins/iterator/deploy_auto_plan.NoDependencyIterator.class.php
View source
<?php

/**
 * @file
 * NoDependencyIterator plugin class definition.
 */

/**
 * Iterator class for when there are no dependencies to iterate through.
 */
class NoDependencyIterator extends DeployIterator {

  /**
   * {@inheritdoc}
   */
  public function hasChildren() {
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function getChildrenEntities() {
    return array();
  }

  /**
   * {@inheritdoc}
   */
  public function getChildren() {
    return new EntityDependencyIterator(array(), $this);
  }

}

Classes

Namesort descending Description
NoDependencyIterator Iterator class for when there are no dependencies to iterate through.