getServiceManager()->register(SupportedListInterface::SERVICE_ID, new CachedListDecorator([ CachedListDecorator::OPTION_ORIGINAL_IMPLEMENTATION => new RemoteList(), CachedListDecorator::OPTION_TTL_CACHE => 3600, ])); } public function down(Schema $schema): void { $this->getServiceManager()->unregister(SupportedListInterface::SERVICE_ID); } }