From 67a3b15b90b11c6b162eb679fdb2cc5d1e48340a Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Thu, 11 Jan 2024 18:33:25 +0700 Subject: [PATCH] Change console command to use 'rekalogika' prefix --- CHANGELOG.md | 1 + src/Command/MappingCommand.php | 2 +- src/Command/TryCommand.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c84a66e..8a9beae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * Update `MapperFactory` to reflect framework usage * Use property info caching in non-framework usage * Add mapping caching +* Change console command to use `rekalogika` prefix ## 0.5.2 diff --git a/src/Command/MappingCommand.php b/src/Command/MappingCommand.php index 05e89ba..891584e 100644 --- a/src/Command/MappingCommand.php +++ b/src/Command/MappingCommand.php @@ -22,7 +22,7 @@ use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\SymfonyStyle; -#[AsCommand(name: 'debug:mapper:mapping', description: 'Dump mapping table')] +#[AsCommand(name: 'rekalogika:mapper:mapping', description: 'Dump mapping table')] class MappingCommand extends Command { public function __construct( diff --git a/src/Command/TryCommand.php b/src/Command/TryCommand.php index c378249..3872b3e 100644 --- a/src/Command/TryCommand.php +++ b/src/Command/TryCommand.php @@ -25,7 +25,7 @@ use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Style\SymfonyStyle; -#[AsCommand(name: 'debug:mapper:try', description: 'Gets the mapping result from a source and target type pair.')] +#[AsCommand(name: 'rekalogika:mapper:try', description: 'Gets the mapping result from a source and target type pair.')] class TryCommand extends Command { public function __construct(