FIELDS_RE FIELDS_RE = '/(authorization|password|passwd|secret|password_confirmation|card_number|auth_pw)/i'
STRING_MASK STRING_MASK = '********' This constant defines the mask string used to strip sensitive information.
__construct() __construct(\Raven_Client $client) Class constructor. Parameters \Raven_Client $client The Raven client
setProcessorOptions() setProcessorOptions(array $options) Override the default processor options Parameters array $options Associative array of processor options
sanitize() sanitize(mixed $item, string $key) Replace any array values with our mask if the field name or the value matches a respective regex Parameters mixed $item Associative array value string $key Associative array key
process() process(array $data) Process and sanitize data, modifying the existing value if necessary. Parameters array $data Array of log data