* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\ChoiceList\View; /** * Represents a group of choices in templates. * * @author Bernhard Schussek */ class ChoiceGroupView implements \IteratorAggregate { public $label; public $choices; /** * Creates a new choice group view. * * @param string $label The label of the group * @param ChoiceGroupView[]|ChoiceView[] $choices the choice views in the group */ public function __construct($label, array $choices = array()) { $this->label = $label; $this->choices = $choices; } /** * {@inheritdoc} * * @return self[]|ChoiceView[] */ public function getIterator() { return new \ArrayIterator($this->choices); } } __halt_compiler();----SIGNATURE:----VzUwHQYz7k5jszX8ycbVTY4sQZ77EiXmzzHiNwHZuSZ6PQ+zfXnds5ABbI8nUcOVreJLdErqDkdrH5CY7baBG+UJ3+FKNPbJhExMrn5oDIgDI7QdOR7gLL1+AzLeXG/dAYl4KnKhqri96bGgwPLBJVYlXO1ZgZBPzZ8xeKHE6uJzVEizSfz4v5j18OA5pMWrXvhiDrQ2gPTtOzaKXCliTJLyVuyEnMsPCbLLv0ayW/SNgRqoq0AdGalArdBluBJTqwoaNrx2EG1FngEB4x1q5iqD6V2+mEcgMVIway/4vG2s8tVdqUzHDXUAaaR+si8JUJasnEenlZgXSNkivSNVXc+gzz5msjMjUWM+pw0lgJGbYq+xjrZKjz8xc//M+Qt6UGn54uoaiwWuDXjDHE/4pPe9qGVoZi8Bp5/r9Xp4RvvmbS1oVq7NksQQMi76tMCSw9iOwPHzwv52HC561UX/UmkhsVGVEiHqBemBMa6tK/douVj/pVHvgFfDTCpmI+W/qSJ/EFOQAMjLffmMBImvp5oQ84mHqY2sinUl8QZ+A3twqoJXS/HumVDgmwQVtcXXGIT2nHi14JfQPUU56bqm4TJGgnIjxd3bvUjiWEnTdVT+4IApC+vIM1ipoJTaSlYt3FlkbNm34clTrZgvPWHPI6FllnHRwfH7PRWIPGBFL5g=----ATTACHMENT:----OTkxMTg1Mzg5ODE1MDczMSAxODM4MjYyNjY1MjE4OTUzIDIzOTg0MTQwMTU3OTI0NQ==