php-imap icon indicating copy to clipboard operation
php-imap copied to clipboard

Suggestion: Drop function name aliases

Open ThomasLandauer opened this issue 9 months ago • 0 comments

E.g. at https://www.php-imap.com/api/folder

They all do the same - different names are available as aliases. Pick the one you like.

$query = $folder->query();
$query = $folder->search();
$query = $folder->messages();

IMO, this only causes confusion and makes searching the documentation (or StackOverflow or whatever) harder, since everybody is using another term for the same thing. So I'd suggest that you just pick one name for each function and stick with it.

ThomasLandauer avatar Feb 25 '25 20:02 ThomasLandauer