Function to invoke a task #11

Closed
zquintana opened this Issue Nov 28, 2012 · 3 comments

2 participants

@zquintana

Any plans to add this feature?

@jaz303
Owner

What are you trying to do? Are you wanting to load phake inside your application and run a task?

@zquintana

Exactly. I was also thinking it might be nice if you'd like to run a task within the context of another task.

@jaz303
Owner

To run a task inside another task you can call invoke() on the \phake\Application instance that's passed to the task body.

Addressing the former case would require a fair bit of code reorganisation. I'll have a look at it over the next couple of days.

This was referenced Aug 19, 2013
@jaz303 jaz303 closed this in #27 Aug 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment