diff --git a/src/Someline/Repository/Generators/Commands/BindingsCommand.php b/src/Someline/Repository/Generators/Commands/BindingsCommand.php index 1f14e75..91467f2 100644 --- a/src/Someline/Repository/Generators/Commands/BindingsCommand.php +++ b/src/Someline/Repository/Generators/Commands/BindingsCommand.php @@ -9,7 +9,7 @@ use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; -class BindingsCommand extends Command +class BindingsCommand extends CommandBase { /** diff --git a/src/Someline/Repository/Generators/Commands/CommandBase.php b/src/Someline/Repository/Generators/Commands/CommandBase.php new file mode 100644 index 0000000..85540fc --- /dev/null +++ b/src/Someline/Repository/Generators/Commands/CommandBase.php @@ -0,0 +1,21 @@ +fire(); + } + + public function fire() + { + // ... + } + +} diff --git a/src/Someline/Repository/Generators/Commands/ControllerCommand.php b/src/Someline/Repository/Generators/Commands/ControllerCommand.php index 44e7fd4..cc0692f 100644 --- a/src/Someline/Repository/Generators/Commands/ControllerCommand.php +++ b/src/Someline/Repository/Generators/Commands/ControllerCommand.php @@ -8,7 +8,7 @@ use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; -class ControllerCommand extends Command +class ControllerCommand extends CommandBase { /** diff --git a/src/Someline/Repository/Generators/Commands/CriteriaCommand.php b/src/Someline/Repository/Generators/Commands/CriteriaCommand.php index 2c71442..a37c1af 100644 --- a/src/Someline/Repository/Generators/Commands/CriteriaCommand.php +++ b/src/Someline/Repository/Generators/Commands/CriteriaCommand.php @@ -8,7 +8,7 @@ use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; -class CriteriaCommand extends Command +class CriteriaCommand extends CommandBase { /** * The name of command. diff --git a/src/Someline/Repository/Generators/Commands/EntityCommand.php b/src/Someline/Repository/Generators/Commands/EntityCommand.php index d073452..55b5c8b 100644 --- a/src/Someline/Repository/Generators/Commands/EntityCommand.php +++ b/src/Someline/Repository/Generators/Commands/EntityCommand.php @@ -6,7 +6,7 @@ use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; -class EntityCommand extends Command +class EntityCommand extends CommandBase { /** diff --git a/src/Someline/Repository/Generators/Commands/PresenterCommand.php b/src/Someline/Repository/Generators/Commands/PresenterCommand.php index 66463e3..19f341c 100644 --- a/src/Someline/Repository/Generators/Commands/PresenterCommand.php +++ b/src/Someline/Repository/Generators/Commands/PresenterCommand.php @@ -8,7 +8,7 @@ use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; -class PresenterCommand extends Command +class PresenterCommand extends CommandBase { /** diff --git a/src/Someline/Repository/Generators/Commands/RepositoryCommand.php b/src/Someline/Repository/Generators/Commands/RepositoryCommand.php index 6e34afa..c55b14f 100644 --- a/src/Someline/Repository/Generators/Commands/RepositoryCommand.php +++ b/src/Someline/Repository/Generators/Commands/RepositoryCommand.php @@ -11,7 +11,7 @@ use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; -class RepositoryCommand extends Command +class RepositoryCommand extends CommandBase { /** diff --git a/src/Someline/Repository/Generators/Commands/TransformerCommand.php b/src/Someline/Repository/Generators/Commands/TransformerCommand.php index d77a4a5..16ad7d1 100644 --- a/src/Someline/Repository/Generators/Commands/TransformerCommand.php +++ b/src/Someline/Repository/Generators/Commands/TransformerCommand.php @@ -8,7 +8,7 @@ use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; -class TransformerCommand extends Command +class TransformerCommand extends CommandBase { /** diff --git a/src/Someline/Repository/Generators/Commands/ValidatorCommand.php b/src/Someline/Repository/Generators/Commands/ValidatorCommand.php index 4173e71..ee90a20 100644 --- a/src/Someline/Repository/Generators/Commands/ValidatorCommand.php +++ b/src/Someline/Repository/Generators/Commands/ValidatorCommand.php @@ -8,7 +8,7 @@ use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; -class ValidatorCommand extends Command +class ValidatorCommand extends CommandBase { /**