X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/a5e223064069f98bbaa14090d0439064072406c7..HEAD:/Command/RekeyCommand.php diff --git a/Command/RekeyCommand.php b/Command/RekeyCommand.php index d25009c..4ad8dfc 100644 --- a/Command/RekeyCommand.php +++ b/Command/RekeyCommand.php @@ -18,14 +18,13 @@ use Symfony\Component\Console\Output\OutputInterface; use Rapsys\AirBundle\Command; use Rapsys\AirBundle\Entity\Session; +/** + * {@inheritdoc} + */ class RekeyCommand extends DoctrineCommand { - //Set failure constant - const FAILURE = 1; - - ///Set success constant - const SUCCESS = 0; - - ///Configure attribute command + /** + * Configure attribute command + */ protected function configure() { //Configure the class $this @@ -37,7 +36,9 @@ class RekeyCommand extends DoctrineCommand { ->setHelp('This command rekey sessions in chronological order'); } - ///Process the attribution + /** + * Process the attribution + */ protected function execute(InputInterface $input, OutputInterface $output): int { //Fetch doctrine $doctrine = $this->getDoctrine(); @@ -51,13 +52,4 @@ class RekeyCommand extends DoctrineCommand { //Return success return self::SUCCESS; } - - /** - * Return the bundle alias - * - * {@inheritdoc} - */ - public function getAlias(): string { - return 'rapsys_air'; - } }