getRegistry(); if ($registry->has('mathEntryInteraction')) { /** @noinspection PhpUnhandledExceptionInspection */ $registry->removeAllVersions('mathEntryInteraction'); } $this->addReport( $this->propagate( new RegisterPciMathEntry() )( ['1.0.0'] ) ); } 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 ); } }