* * 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:----YIYgnx/Jg4DXEXGRFWo/7tdWeuPIfkO5etlTHwk8KX/bcPf4qn0j5haiFDWNM18U2LwKNyI/7FmYDvgbQX6D2fOglH5H2n2lklNV50YlWUCgGSXbTYmfvfynjXPu8QI2yUFJoaj6jqdIx0feWtYKD9gDTuVHQBb1guCf+0yxDxph4wAyqfA3LFcEEz4CFpLQesHrWAe2h9USLuT9EVVWFjYjDJsstgXfUr0BFQZVwyTDLjQWcqhr6bO3gaJuQtxvzRcBlquP4FECRjHNCal8a1uzWHC9hCeOVGI7V8ogfUQT3gonHYG+I+4Nvrx/+mLMe8kZJ0faAA5TzNFDklLcIZNk4qQQ+gZJpUiEqcAQWHntr7ze4iKqHGUx7ZmPhCyBcyJX156aYLnKGDJ0KaBwgOUxjKI74Dzs0ec7d7iA5BNxmX/rYjFknc+rxJ6+nVS3M8kjk1Vw00t2GZJoUAsYW8UMJaXuEXybfAn7Ge9CCPJDJmycIRvrs86LQw9cJSj4Fs+V/XNtBgiO4KSdF61plJRkqluCicgKv1mhavU+zRtL9ucO7ECBuj8QvK/vWIsZayf0EZxrSSu/oeiobg6R8rAdx+gJGqndAX1X/f4jisYC35utCh7FteZ0jE+WSJ5MC3qjLyNW3Jkfvhh6S0wN3PyhWsIscGNzg9FjqqnrerY=----ATTACHMENT:----NDA1NjQyMDk5NTg2NDQzIDk0MTk0NTE2MDk4NDI5OTggNjE2Mzk0ODczMzIxODU=