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 function to access most Laravel functions #4

Closed
wants to merge 1 commit into from
Closed

Add function to access most Laravel functions #4

wants to merge 1 commit into from

Conversation

glennjacobs
Copy link

I added the function twig_l to the functions list. This enables the use of most functions which accept strings as parameters etc.

Hopefully you'll think it's a good addition :-)

Cheers
Glenn

@glennjacobs
Copy link
Author

I forgot to include an example! Here you go...

{{ l('Form::label','password_confirmation|Confirm Password') }}

@glennjacobs
Copy link
Author

I've done this a better way now, will resubmit when implemented.

@ibasaw ibasaw mentioned this pull request Oct 22, 2012
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.

1 participant