Skip to content

Commit

Permalink
Move description
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Jan 19, 2024
1 parent f989fc4 commit 12aeb40
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/Command/AssignCalloutsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,15 @@ final class AssignCalloutsCommand extends Command

protected static $defaultName = 'setono:sylius-callout:assign';

protected static $defaultDescription = 'Trigger callouts to all products assign process';

public function __construct(CalloutAssignerInterface $productCalloutsAssigner)
{
parent::__construct();

$this->productCalloutsAssigner = $productCalloutsAssigner;
}

protected function configure(): void
{
$this
->setDescription('Trigger callouts to all products assign process')
;
}

protected function execute(InputInterface $input, OutputInterface $output): int
{
$this->productCalloutsAssigner->assign();
Expand Down

0 comments on commit 12aeb40

Please sign in to comment.