Improved docs about multiple fixtures paths (#470)

master
jmsche 3 years ago committed by Théo FIDRY
parent b9fa7985a5
commit 3449a08b4b
  1. 2
      README.md
  2. 2
      src/DependencyInjection/Configuration.php

@ -110,7 +110,7 @@ Configure the bundle to your needs, for example:
# config/packages/dev/hautelook_alice.yaml
hautelook_alice:
fixtures_path: 'fixtures' # Path to which to look for fixtures relative to the project directory or the bundle path.
fixtures_path: 'fixtures' # Path to which to look for fixtures relative to the project directory or the bundle path. May be a string or an array of strings.
root_dirs:
- '%kernel.root_dir%'
- '%kernel.project_dir%'

@ -39,7 +39,7 @@ final class Configuration implements ConfigurationInterface
$rootNode
->children()
->arrayNode('fixtures_path')
->info('Path to which to look for fixtures relative to the bundle/root directory paths.')
->info('Path(s) to which to look for fixtures relative to the bundle/root directory paths.')
->beforeNormalization()->castToArray()->end()
->defaultValue(['Resources/fixtures'])
->scalarPrototype()->end()

Loading…
Cancel
Save