getRegistry(); if ($registry->has('textReaderInteraction')) { /** @noinspection PhpUnhandledExceptionInspection */ $registry->removeAllVersions('textReaderInteraction'); } $this->addReport( $this->propagate( new RegisterPciTextReaderOAT() )( ['0.9.0'] ) ); $this->addReport( $this->propagate( new RegisterPciTextReaderIMS() )( ['1.0.0'] ) ); } public function down(Schema $schema): void { $registry = (new PciModel())->getRegistry(); if ($registry->has('textReaderInteraction')) { /** @noinspection PhpUnhandledExceptionInspection */ $registry->removeAllVersions('textReaderInteraction'); } $this->addReport( $this->propagate( new RegisterPciTextReaderIMS() )( ['1.0.0'] ) ); } }