command implements LoggerInterface

This commit is contained in:
crazywhalecc
2023-02-28 23:01:01 +08:00
committed by Jerry
parent d0bbd20acc
commit c11ad632ac
3 changed files with 158 additions and 25 deletions

View File

@@ -4,11 +4,11 @@ declare(strict_types=1);
namespace ZM\Command;
use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
use Symfony\Component\Console\Output\OutputInterface;
abstract class Command extends \Symfony\Component\Console\Command\Command
abstract class Command extends \Symfony\Component\Console\Command\Command implements LoggerInterface
{
use CommandInteractTrait;