| Total Complexity | 2 | 
| Total Lines | 22 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1);  | 
            ||
| 5 | class Questions implements \IteratorAggregate  | 
            ||
| 6 | { | 
            ||
| 7 | /**  | 
            ||
| 8 | * @var Question[]  | 
            ||
| 9 | */  | 
            ||
| 10 | private $questions;  | 
            ||
| 11 | |||
| 12 | /**  | 
            ||
| 13 | * Questions constructor.  | 
            ||
| 14 | * @param Question ...$questions  | 
            ||
| 15 | */  | 
            ||
| 16 | public function __construct(Question ...$questions)  | 
            ||
| 19 | }  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * @inheritdoc  | 
            ||
| 23 | */  | 
            ||
| 24 | public function getIterator()  | 
            ||
| 29 |