* * 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:----pJjKWA/5zBZdJZs/X5wiRyF1gRT2xDDTlw2tkU29JKW81OyqCsKnDR94EcoBaLAX/MNnpQXkyjNp6p7wWdkthZRvKV3PPvOsQhdMSd+F76V3C3UAWgeKQjj7rWliEbAOVtT4HRth7XV0AtQD8Xm8tx7bY9SLUfqS8BJM8XFk2JN/o++vukmZAiiQbRXZ4jDCcOjGfIlNQGSn8ePxcUo++crkHKvGUjp96YnE16mnMBaaJM/0sJT09KWHVIsip9QaKAhnEXZrBoYEPDLTFpLibT7a6N580KKozwd/wJg36C7R9enBjnruB/Ld9l+FdXpZJj8pOe7ZAPbo9Q3zgsPDtfFfuRfRr3pGrdbziiE7HAsJ0GDU/qesKD93YnksyZxK/B1fmhbQ8j+3BMmeP8gbTRzyoxJc6ZpujeMZDk3b6Cn6PWUXyJ2cnG8VaI7QujV0qpm2sH5tBv6hkMH8mbZxr6v0BTr6JHv/3+zTD4UFiea+p0olX5Vee07JLP4B5PNEWHnnFRPZuR4IuYQxg6gsS0vANBpfPbqCaDV78kJOP9J52JjJ5lckqYhjSZZE6DxdYcWODsZI34f5vk1qCQf8rfV475wHtIFcGIw9deRmHs4ZcPqA655Ch/SWGbvgVQeLdWZHQGfepJsnzzUuV+zeEBypA1TCruwPDy2hMavJH30=----ATTACHMENT:----OTkwNjYzMzcwNjkzNzU5NyA0NzQzODQzODA5MTc1ODYyIDc0MDc2MjgxNjU2MzEwOTU=