Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (22 sloc) 874 Bytes

Alice Processors

Given you declared a processor App\DataFixtures\Processor\UserProcessor, you have to declare it as a service with the tag fidry_alice_data_fixtures.processor to register it unless autoconfigure is enabled:

# config/services.yaml

services:
    _defaults:
        autoconfigure: true

    App\DataFixtures\Processor\UserProcessor: ~

Without autoconfigure:

# config/services.yaml

services:
    App\DataFixtures\Processor\UserProcessor:
        tags: [ { name: fidry_alice_data_fixtures.processor } ]

Refer to FidryAliceDataFixtures for a more advanced documentation.

Previous chapter: Custom Faker providers
Back to Table of Contents

You can’t perform that action at this time.