getRegistry(); if ($registry->has('textReaderInteraction')) { /** @noinspection PhpUnhandledExceptionInspection */ $registry->removeAllVersions('textReaderInteraction'); } $this->addReport( $this->propagate( new RegisterPciTextReaderIMS() )( ['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 ' . RegisterPciTextReaderIMS::class ); } }