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

Passing a class function name #13

Open
codecowboy opened this issue Jan 27, 2014 · 2 comments
Open

Passing a class function name #13

codecowboy opened this issue Jan 27, 2014 · 2 comments

Comments

@codecowboy
Copy link

If calling this within a class method, How would I reference another class method instead of naming a function using a string?

$parallelcurl->startRequest('http://example.com', <how to call a class method>, array('something'));
@petewarden
Copy link
Owner

Right now you need a regular function that calls the class method, using a class object stored in the cookie data.

@exussum12
Copy link

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

No branches or pull requests

3 participants