public function __construct($options = array()) { if (isset($options['label'])) { $options['allow-label'] = true; } $this->options = $options; }