public function __construct($name, array $options) { parent::__construct($name); $this->options = $options; }
public function __construct($name, $min = null, $max = null) { parent::__construct($name); $this->min = $min; $this->max = $max; }
public function __construct($name, $regex = '/.*/') { parent::__construct($name); $this->regex = $regex; }
public function __construct() { parent::__construct('Email'); }