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

Resolve deferred callable before passing it to foundHandler for invocation #1787

Closed

Conversation

astax-t
Copy link

@astax-t astax-t commented Feb 29, 2016

Fixes issue #1785

Includes #1783

}

public function getResolvedCallable()
{
$callable = $this->resolveCallable($this->callable);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we do this only once? i.e. should getResolvedCallable() store the resolved callable into $this->resolvedCallable and then return that rather than re-resolving?

@akrabat
Copy link
Member

akrabat commented Feb 29, 2016

I think #1789 is the correct way to solve this.

@astax-t
Copy link
Author

astax-t commented Feb 29, 2016

I agree, #1789 is better way

@astax-t astax-t closed this Feb 29, 2016
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

Successfully merging this pull request may close these issues.

3 participants