php-curl-class
php-curl-class copied to clipboard
Add namespace support
Yes please. When using in a namespace manner, the instantiation of the Curl class returns nothing.
Possible implementation and usage.
<?php
namespace Curl;
class Curl
{
}
<?php
use \Curl\Curl;
$curl = new Curl();
$curl->get('https://www.example.com/');
Fixed in 360058c529c9a936eb71939e7c5268ddd3ecad72.