-
You data loader should now either extend
Hautelook\AliceBundle\Doctrine\DataFixtures\AbstractLoader
or implementHautelook\AliceBundle\Doctrine\DataFixtures\LoaderInterface
. -
If you were overriding the
::load()
function of the data loader, you should not need it anymore now:
- Custom Faker providers can now be registered, cf Custom Faker Providers.
- Custom Alice processors can now be registered, cf Custom Processors.
-
If you had very long path for some fixtures because you needed to refer to the fixtures of another bundle, you can now use the bundle annotation
@Bundlename
. -
If you had several data loaders to manage different set of fixtures depending of your environment, now you can devide your fixtures by environment instead of having to use and specify a data loader for that.
You should now rely on the bundle command hautelook_alice:doctrine:fixtures:load
(or h:d:f:l
) instead of doctrine:fixtures:load
.
As explained here, there is no obligation to do so. HautelookAliceBundle is fully compatible with it. However it does not make sense to use the both of them together. It is recommended to choose only one.