# mail-boxes-etc/trunk/lib/dompdf/src/Frame/FrameList.php

MBE eShip, version trunk. 36 lines.

- Page: https://pluginprobe.com/plugins/mail-boxes-etc/trunk/code/lib/dompdf/src/Frame/FrameList.php
- Raw: https://pluginprobe.com/plugins/mail-boxes-etc/trunk/raw/lib/dompdf/src/Frame/FrameList.php
- Modified: 2021-09-24T09:56:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/mail-boxes-etc/trunk/code/lib/dompdf/src/Frame/FrameList.php#L10-L20`.

```php
<?php
namespace Dompdf\Frame;

use Dompdf\Frame;
use IteratorAggregate;

/**
 * Linked-list IteratorAggregate
 *
 * @access private
 * @package dompdf
 */
class FrameList implements IteratorAggregate
{
    /**
     * @var Frame
     */
    protected $_frame;

    /**
     * @param Frame $frame
     */
    function __construct($frame)
    {
        $this->_frame = $frame;
    }

    /**
     * @return FrameListIterator
     */
    function getIterator()
    {
        return new FrameListIterator($this->_frame);
    }
}

```
