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

Source: src/Helpers/UsernameHelper.php

Overview

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

Public methods

publicName(string $username): string

Return the safe-for-public display form of a username.

If the username contains an "@" followed by what looks like a domain, the portion from "@" onward is stripped. Otherwise the original string is returned untouched.


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


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

Log in or register to reply to this thread.