Skip to content

Reference

phil/migration-bundle
TypeKindRole
Phil\MigrationBundle\PhilMigrationBundleAbstractBundleThe phil_migration configuration, the services, the compiler pass
Phil\MigrationBundle\Infrastructure\DependencyInjection\AnnouncementServicesfinal classRegisters the announcements, the announcer and the publisher
Phil\MigrationBundle\Infrastructure\DependencyInjection\AnnouncingMigrationsPasscompiler passWraps the migration factory and the migrator of DoctrineMigrationsBundle

Services

IdClassWhen
Phil\Migration\AnnouncementsAnnouncementsAlways
Phil\Migration\PublisherChatterPublisherWith channels; replace it to send elsewhere
Phil\Migration\AnnouncerAnnouncerWith channels
phil_migration.migration_factoryAnnouncingMigrationFactoryWith DoctrineMigrationsBundle
phil_migration.migratorAnnouncingMigratorWith DoctrineMigrationsBundle and channels

Constants

ConstantValue
AnnouncingMigrationsPass::DEPENDENCY_FACTORYdoctrine.migrations.dependency_factory
AnnouncingMigrationsPass::FACTORY_IDphil_migration.migration_factory
AnnouncingMigrationsPass::MIGRATOR_IDphil_migration.migrator
AnnouncementServices::MIN_LENGTH100, the shortest message
AnnouncementServices::CONTENTSnotes, news

The types of announcements and channels are phil/migration's: see its reference.