1

In patch which implements DataPatchInterface there is a method "getDependencies()" which seems to be used if one patch need to be played before current one. But problem is if required patch define in getDependencies was already played the cli setup:upgrade returns me "Patch xxx cannot be applied twice".

So how can I make sure that patch is played before another one if I init new environment ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.