src/ExtraDataProcessor.php
public function removeExtraData(array $extraDataKeys = [])
    {
        foreach ($extraDataKeys as $key) {
            if (array_key_exists($key, $this->extraData)) {
                unset($this->extraData[$key]);
            }
        }
    }
public function removeExtraData(array $extraDataKeys = [])
    {
        foreach ($extraDataKeys as $key) {
            if (array_key_exists($key, $this->extraData)) {
                unset($this->extraData[$key]);
            }
        }
    }
Removes the passed extra data keys.

@param array $extraDataKeys
@return void