public function __construct($code, $value, $options = []) { $this->code = $code; $this->value = $value; $this->setOptions($options); }