getRegistry(); if ($registry->has('mathEntryInteraction')) { /** @noinspection PhpUnhandledExceptionInspection */ $registry->removeAllVersions('mathEntryInteraction'); } } public function down(Schema $schema): void { throw new IrreversibleMigration( 'In order to undo this migration, please revert the client-side changes and run ' . RegisterPciMathEntry::class ); } }