20 lines
No EOL
510 B
PHP
20 lines
No EOL
510 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Loom\Spinner\Command;
|
|
|
|
use Symfony\Component\Console\Command\Command;
|
|
use Symfony\Component\Console\Input\InputInterface;
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
use Symfony\Component\Console\Style\SymfonyStyle;
|
|
|
|
class AbstractSpinnerCommand extends Command
|
|
{
|
|
protected SymfonyStyle $style;
|
|
|
|
protected function setStyle(InputInterface $input, OutputInterface $output): void
|
|
{
|
|
$this->style = new SymfonyStyle($input, $output);
|
|
}
|
|
} |