diff --git a/Command/EncryptCommand.php b/Command/EncryptCommand.php index be2e247..0431808 100644 --- a/Command/EncryptCommand.php +++ b/Command/EncryptCommand.php @@ -14,6 +14,7 @@ namespace Ekino\DataProtectionBundle\Command; use Ekino\DataProtectionBundle\Encryptor\Encryptor; +use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; @@ -24,6 +25,7 @@ * * @author Christian Kollross */ +#[AsCommand(name: 'ekino-data-protection:encrypt')] final class EncryptCommand extends Command { /**