protected function cleanup() { parent::cleanup(); $start = mb_strpos($this->data, $this->partToken) + mb_strlen($this->partToken); $end = mb_strrpos($this->data, $this->partToken); $this->data = mb_substr($this->data, $start, $end - $start); }