Webmozart\Console\Api\Config\SubCommandConfig::end PHP Метод

end() публичный Метод

This method is usually used together with {@link CommandConfig::beginSubCommand()}, {@link CommandConfig::beginOptionCommand()} or {@link CommandConfig::beginDefaultCommand()}: php $config ->beginSubCommand('add') ... ->end() ... ;
public end ( ) : CommandConfig | SubCommandConfig | OptionCommandConfig
Результат CommandConfig | SubCommandConfig | OptionCommandConfig The parent command configuration.
    public function end()
    {
        return $this->parentConfig;
    }