public function __construct($stopAfterMatch = false) { parent::__construct(); $this->stopAfterMatch = $stopAfterMatch; }