public function __construct($name = null) { parent::__construct($name); $this->setPattern('([0-9 ]+)'); }