public function __construct($field = null, $doc = null) { parent::__construct($field, $doc); $this->required = true; }