Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
PatchRevertableInterface Interface Reference
Inheritance diagram for PatchRevertableInterface:
BicPatch IncrementalSomeIntegerPatch LlNextChainPatch NextChainPatch RefBicPatch ReferenceIncrementalSomeIntegerPatch ZFirstPatch SomePatch SomeSkippedPatch RevertableDataPatch

Public Member Functions

 revert ()
 

Detailed Description

Revertable means, that patch can be reverted

All patches (

See also
PatchInterface) that implement this interfaces should have next values:
  • do not use application layer: like Serilizer, Collections, etc
  • use only some DML operations: INSERT, UPDATE
  • DELETE DML operation is prohibited, because it can cause triggering foreign keys constraints
  • all schema patches are not revertable

Definition at line 17 of file PatchRevertableInterface.php.

Member Function Documentation

◆ revert()

revert ( )

The documentation for this interface was generated from the following file: