4 ms·
Exactly. You are supposed to chose a name for your namespace that hopefully nobody else ever used and nobody else will ever use. If you write a class "Http" yo
by mg 6y ago
Exactly. You are supposed to chose a name for your namespace that hopefully nobody else ever used and nobody else will ever use.
If you write a class "Http" you might start your file Http.php with
namespace Buttons840;
class Http {
...
So a file that includes your Http.php can instantiate the class via
$myHttp = new Buttons804\Http();