welcome back to dyb-tech
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony MakerBundle package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Bundle\MakerBundle;
|
||||
|
||||
final class InputConfiguration
|
||||
{
|
||||
private array $nonInteractiveArguments = [];
|
||||
|
||||
/**
|
||||
* Call in MakerInterface::configureCommand() to disable the automatic interactive
|
||||
* prompt for an argument.
|
||||
*/
|
||||
public function setArgumentAsNonInteractive(string $argumentName): void
|
||||
{
|
||||
$this->nonInteractiveArguments[] = $argumentName;
|
||||
}
|
||||
|
||||
public function getNonInteractiveArguments(): array
|
||||
{
|
||||
return $this->nonInteractiveArguments;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user