Created
September 11, 2017 10:04
-
-
Save eghojansu/2abbf2badbbc530139774c18a0942e87 to your computer and use it in GitHub Desktop.
Snippet for post Install nelmio/alice di Framework Symfony
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/config/services.yml | |
# ... | |
app.faker.custom_provider: | |
class: AppBundle\DataFixtures\ORM\CustomProvider\CustomFakerProvider | |
arguments: ["@nelmio_alice.faker.generator", "@security.password_encoder"] | |
tags: | |
# berikan tag ini agar provider dikenali oleh alice | |
- { name: nelmio_alice.faker.provider } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment