Creates a new configuration.
public __construct ( string $name = null, |
||
$name | string | The name of the command. |
$parentConfig | The command configuration that contains this configuration. |
/** * Creates a new configuration. * * @param string $name The long option name of the command. * @param string $shortName The short option name of the command. * @param CommandConfig $parentConfig The parent configuration. * @param ApplicationConfig $applicationConfig The application configuration. */ public function __construct($name = null, $shortName = null, CommandConfig $parentConfig = null, ApplicationConfig $applicationConfig = null) { parent::__construct($name, $parentConfig, $applicationConfig); $this->setShortName($shortName); }