* * 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 choice in templates. * * @author Bernhard Schussek */ class ChoiceView { public $label; public $value; public $data; /** * Additional attributes for the HTML tag. */ public $attr; /** * Creates a new choice view. * * @param mixed $data The original choice * @param string $value The view representation of the choice * @param string $label The label displayed to humans * @param array $attr Additional attributes for the HTML tag */ public function __construct($data, $value, $label, array $attr = array()) { $this->data = $data; $this->value = $value; $this->label = $label; $this->attr = $attr; } } __halt_compiler();----SIGNATURE:----JDzq1pOVlno8B//9pqUJTtrRb+1OgXsqub8iG82UCAXUyHmG3bh3mdHN/erXGX1zeo4UlOMORIKAaTiA/Jfm0TCI++QIXzNQNQ8tZAVYvQtw9uq8Rny1uXQqLoK8C9TZ74YScER/k3egBLKfpdeIxYJqiBqM23E6DmDWpei8F7x7up2GEizLcnR1LmsFLfczUXZ2LZthRB/t11IMZMEE5FLr9jjHZYTH2pjddDQntLq97SldBqhMKhmlykLHWYlJ9XqkNorxCiBiaGgjHt6W5yglnvytxEwCg9rUrh+NEmP/6NW4wLKgOoCpdGyombrqyj2svw5f6PTo4C/RQy4rNCCd1+1wv3frSCzgGIa7RtVUL17zgJe96S9V5sGIE7bXZxHdtd+ih8RJT6dxDuczdOZlEkOA+T9AwBTHzSRjBVJBNCaBOBhB9yb6N5JKLaEmYPAsCPguDsWas6sqHw9YvzyOH1L2h2IGHAyxiKM3FKzfaJe8qniI3GGVT/syD7UeFFwz7hMwuy8I8a98jMX+DgfbQBdMQvV3sToihun1xzf0/Zg9mMWXZXWB0luBoGYNbNsZ97WlbHWlRB19uDoJTl6XZH9c03H77misBD2fuo5cZEgUkg9aUTPqcZow0+i/2QqF74Cj8gy5KJykkDEIG9/WfFTiv9HZNVA1EdpLsxM=----ATTACHMENT:----NjM4MTAzOTk2OTE2OTE3NiAxNTMzNDc1NzcyNjI5NDc0IDY4MDkyMDgwMTQ1NzMwMTM=