Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Command class rename
Browse files Browse the repository at this point in the history
devnix committed Oct 16, 2020
1 parent 5b4350b commit 3dcbe14
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

class MigrationsDiffCommand extends AbstractCommand
class DiffCommand extends AbstractCommand
{
protected static $defaultName = 'doctrine:migrations:diff';

Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

class MigrationsMigrateCommand extends AbstractCommand
class MigrateCommand extends AbstractCommand
{
protected static $defaultName = 'doctrine:migrations:migrate';

Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

class MigrationsVersionCommand extends AbstractCommand
class VersionCommand extends AbstractCommand
{
protected static $defaultName = 'doctrine:migrations:version';

6 changes: 3 additions & 3 deletions src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ services:
abstract: true

doctrine_migrations.diff_command:
class: AvaiBookSports\Bundle\MigrationsMutlipleDatabase\Command\Doctrine\MigrationsDiffCommand
class: AvaiBookSports\Bundle\MigrationsMutlipleDatabase\Command\Doctrine\DiffCommand
arguments:
- '@doctrine.migrations_multiple_database.configuration'
tags: ['console.command']
@@ -26,7 +26,7 @@ services:
# doctrine_migrations.latest_command:

doctrine_migrations.migrate_command:
class: AvaiBookSports\Bundle\MigrationsMutlipleDatabase\Command\Doctrine\MigrationsMigrateCommand
class: AvaiBookSports\Bundle\MigrationsMutlipleDatabase\Command\Doctrine\MigrateCommand
arguments:
- '@doctrine.migrations_multiple_database.configuration'
tags: ['console.command']
@@ -37,7 +37,7 @@ services:
# doctrine_migrations.up_to_date_command:

doctrine_migrations.version_command:
class: AvaiBookSports\Bundle\MigrationsMutlipleDatabase\Command\Doctrine\MigrationsVersionCommand
class: AvaiBookSports\Bundle\MigrationsMutlipleDatabase\Command\Doctrine\VersionCommand
arguments:
- '@doctrine.migrations_multiple_database.configuration'
tags: ['console.command']

0 comments on commit 3dcbe14

Please sign in to comment.