Skip to content

Instantly share code, notes, and snippets.

@eghojansu
Created September 11, 2017 10:04
Show Gist options
  • Save eghojansu/2abbf2badbbc530139774c18a0942e87 to your computer and use it in GitHub Desktop.
Save eghojansu/2abbf2badbbc530139774c18a0942e87 to your computer and use it in GitHub Desktop.
Snippet for post Install nelmio/alice di Framework Symfony
# 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