You are here

class crumbs_Container_MultiWildcardDataIterator in Crumbs, the Breadcrumbs suite 7.2

Hierarchy

Expanded class hierarchy of crumbs_Container_MultiWildcardDataIterator

File

lib/Container/MultiWildcardDataIterator.php, line 3

View source
class crumbs_Container_MultiWildcardDataIterator extends ArrayIterator {

  /**
   * @var crumbs_Container_MultiWildcardData
   */
  protected $container;

  /**
   * @param crumbs_Container_MultiWildcardData $container
   * @param array $keys
   */
  function __construct($container, array $keys) {
    $this->container = $container;
    parent::__construct($keys);
  }

  /**
   * @return crumbs_Container_MultiWildcardDataOffset
   */
  function current() {
    return new crumbs_Container_MultiWildcardDataOffset($this->container, $this
      ->key());
  }

}

Members