0
OP New Sysop Apr 18, 2026 12:03pm (edited 2x) view history

Source: src/Helpers/ContentFilterHelper.php

Overview

No class-level docblock. Add one at the top of the file.

Public methods

apply(string $text): array

Apply content filters to text.

Returns an array with:

  • 'action' => 'flag'|'reject'|'censor'|null (null means no match)
  • 'text' => the (possibly censored) text
  • 'matched' => the matched pattern (or null)
  • 'filter' => the matched filter row (or null)

@param string $text The text to check. @return array


Auto-generated from source by bin/sync-class-docs.php on 2026-04-18 12:16 CDT. Re-runs overwrite this thread body.


. __  ____   ___ ____  _     _     
 / /_| ___| / _ \___ \(_)___| |__  
| '_ \___ \| | | |__) | / __| '_ \ 
| (_) |__) | |_| / __/| \__ \ | | |
 \___/____/ \___/_____|_|___/_| |_|
        D2sk - Sysop

Log in or register to reply to this thread.

We use cookies to enhance your experience on 6502ish.com. Essential cookies keep the site running. Analytics cookies help us understand how the site is used. Cookie Settings | Privacy Policy