/** * Remove specified BBCodes and their contents * * @return string Stripped message text */ protected function process() { foreach ($this->data as $bbcode) { $this->text = $this->text_formatter_utils->remove_bbcode($this->text, $bbcode); } return $this->text_formatter_utils->unparse($this->text); }