| 1 | <?php |
||
| 7 | class ReleaseCounter implements MongoDbMigrations\MigrationInterface, MongoDbMigrations\RunAlwaysMigrationInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * {@inheritdoc} |
||
| 11 | */ |
||
| 12 | public function getId() |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritdoc} |
||
| 19 | */ |
||
| 20 | public function getCreateDate() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Create one record per release |
||
| 27 | * |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | public function execute(\MongoDB $db) |
||
| 35 | } |
||
| 36 |