Skip to content

Commit

Permalink
update to symfony console 7
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Feb 2, 2024
1 parent 5bb2ca4 commit 6e1789f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Command/ListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use DI\Container;
use DI\Definition\Exception\InvalidDefinition;
use DI\NotFoundException;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Input\InputArgument;
Expand All @@ -22,12 +23,9 @@
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;

#[AsCommand(name: 'slim:container:list')]
class ListCommand extends Command
{
public const NAME = 'slim:container:list';

protected static $defaultName = self::NAME;

public function __construct(
private Container $container,
?string $name = null,
Expand Down

0 comments on commit 6e1789f

Please sign in to comment.