Re: PDO subclass names

From: Date: Tue, 23 Apr 2024 13:04:59 +0000
Subject: Re: PDO subclass names
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-123181@lists.php.net to get a copy of this message
On 23/04/2024 10:25, Stephen Reay wrote:
The argument that "Client" is meaningless becomes pretty moot when you realise that you can import a *namespace* and use it relatively, if you so wish:
import MyLib\HTTP;

$a = new HTTP\Client(...);
Hi Stephen, Granted, but I also believe the user can and should have the reasonable expectation that they can work comfortably (without conflicts or aliases) using leaf (class) names exclusively. Kind regards, Bilge

« previous php.internals (#123181) next »