composer package updates
[openemr.git] / vendor / dompdf / dompdf / src / Frame / FrameList.php
blob37d9990a1e043eb08b81e14cbe1c6f786f4e3141
1 <?php
2 namespace Dompdf\Frame;
4 use Dompdf\Frame;
5 use IteratorAggregate;
7 /**
8 * Linked-list IteratorAggregate
10 * @access private
11 * @package dompdf
13 class FrameList implements IteratorAggregate
15 /**
16 * @var Frame
18 protected $_frame;
20 /**
21 * @param Frame $frame
23 function __construct($frame)
25 $this->_frame = $frame;
28 /**
29 * @return FrameListIterator
31 function getIterator()
33 return new FrameListIterator($this->_frame);