1 | <?php |
||
24 | class RotatorCollection implements \IteratorAggregate, RotatorInterface |
||
25 | { |
||
26 | /** |
||
27 | * @var RotatorInterface[] |
||
28 | */ |
||
29 | private $rotators; |
||
30 | |||
31 | 2 | public function __construct(array $rotators = array()) |
|
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | 2 | public function nominate(array $backups) |
|
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function getIterator() |
||
64 | } |
||
65 |