copypaste2/config/packages/dev/orm_fixtures.yaml

10 lines
347 B
YAML
Raw Normal View History

2019-01-20 02:50:09 +00:00
# src/AppBundle/Resources/config/dataFixture.yml
services:
_defaults:
tags: ['doctrine.fixture.orm']
autowire: true # if you need dependency injection, see next bullet point
bind:
$projectDir: '%kernel.project_dir%'
App\DataFixtures\ORM\:
resource: '%kernel.project_dir%/src/DataFixtures/ORM/*'