Last active
September 11, 2017 09:40
-
-
Save eghojansu/5724c0545f4716dad78b4f366b15cd00 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/config_dev.yml | |
# NelmioAliceBundle setting (boleh ditempatkan diakhir file) | |
nelmio_alice: | |
locale: 'id_ID' # Default locale for the Faker Generator (id_ID untuk Indonesia Bahasa Indonesia) | |
seed: 1 # Value used make sure Faker generates data consistently across | |
# runs, set to null to disable. | |
functions_blacklist: # Some Faker formatter may have the same name as PHP | |
- 'current' # native functions. PHP functions have the priority, | |
- 'date' # so if you want to use a Faker formatter instead, | |
# blacklist this function here | |
loading_limit: 5 # Alice may do some recursion to resolve certain values. | |
# This parameter defines a limit which will stop the | |
# resolution once reached. | |
max_unique_values_retry: 150 # Maximum number of time Alice can try to | |
# generate a unique value before stopping and | |
# failing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment