Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add namespace support #29

Closed
zachborboa opened this issue Mar 17, 2014 · 3 comments
Closed

Add namespace support #29

zachborboa opened this issue Mar 17, 2014 · 3 comments

Comments

@zachborboa
Copy link
Member

No description provided.

@leeuweriq
Copy link

Yes please. When using in a namespace manner, the instantiation of the Curl class returns nothing.

@zborboa-g
Copy link
Contributor

Possible implementation and usage.

<?php
namespace Curl;

class Curl
{
}
<?php
use \Curl\Curl;

$curl = new Curl();
$curl->get('https://www.example.com/');

@zachborboa
Copy link
Member Author

Fixed in 360058c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants