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

Enable calling convertToHtml as a function #239

Merged

Conversation

healsdata
Copy link
Contributor

Adding Converter::__invoke as an alias to Converter::convertToHtml
to enable calling Converter object as functions

resolves #233

Adding Converter::__invoke as an alias to Converter::convertToHtml
to enable calling Converter object as functions

resolves thephpleague#233
@healsdata healsdata force-pushed the issue-233-add-invoke-to-convertor branch from 2d0165d to d30e265 Compare March 25, 2016 05:20
@colinodell
Copy link
Member

Thanks for implementing this!

@colinodell colinodell merged commit b3198bb into thephpleague:master Mar 27, 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.

Add __invoke() method to Converter
2 participants