Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 908 Bytes

alice-processors.md

File metadata and controls

33 lines (22 loc) · 908 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