| 1 | <?php |
||
| 21 | class MigrationRepositoryImpl extends EntityRepository implements MigrationRepository |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @return ExecutedMigration[]|Cursor |
||
| 25 | */ |
||
| 26 | public function findAll() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $name |
||
| 33 | * |
||
| 34 | * @return ExecutedMigration|Cursor |
||
| 35 | */ |
||
| 36 | public function findOneByName($name) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param string $name |
||
| 45 | * |
||
| 46 | * @return int |
||
| 47 | */ |
||
| 48 | public function countByName($name) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @param ExecutedMigration $executedMigration |
||
| 57 | */ |
||
| 58 | public function store(ExecutedMigration $executedMigration) |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @param ExecutedMigration $executedMigration |
||
| 65 | */ |
||
| 66 | public function delete(ExecutedMigration $executedMigration) |
||
| 70 | } |
||
| 71 |