*/ final class Raven_Processor_RemoveCookiesProcessor extends Raven_Processor { /** * {@inheritdoc} */ public function process(&$data) { if (isset($data['request'])) { if (isset($data['request']['cookies'])) { $data['request']['cookies'] = self::STRING_MASK; } if (isset($data['request']['headers']) && isset($data['request']['headers']['Cookie'])) { $data['request']['headers']['Cookie'] = self::STRING_MASK; } } } }