Skip to content

Allow to inject any loader into LoadDataFixturesDoctrineCommand #380

@oleg-andreyev

Description

@oleg-andreyev

There could be cases when developers needs to inject custom fixture loader into LoadDataFixturesDoctrineCommand, but (un)fortunately SymfonyFixturesLoader is final and cannot be extended to mimic required interface, but at the same time this command is using only \Doctrine\Common\DataFixtures\Loader::getFixtures thus it should be allowed to inject any loader as long as it has getFixtures method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions