-
Notifications
You must be signed in to change notification settings - Fork 118
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 Faker Twig Function #137
Comments
@jryanconklin do we want to leave this open? |
No, let’s go ahead and close it. |
This was referenced Sep 12, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See Issue on php twig edition for bones of Twig function using Faker. Adapting this would use of Faker within Twig as:
This is likely impacted by the issues currently in
pattern-lab/plugin-php-faker
. For example, when working with this as{{ faker('ImageUrl', 200, 200) }}
, only the first argument is honored, returning:https://lorempixel.com/200/480/?57256
. Note there is an open PR for plugin issue #4The text was updated successfully, but these errors were encountered: