0 follower

Final Class Yiisoft\Config\Command\RebuildCommand

InheritanceYiisoft\Config\Command\RebuildCommand » Composer\Command\BaseCommand

RebuildCommand crawls all the configuration files and updates the merge plan file.

Method Details

Hide inherited methods

configure() protected method

protected configure( ): void

                protected function configure(): void
{
    $this
        ->setName('yii-config-rebuild')
        ->setDescription('Crawls all the configuration files and updates the merge plan file.')
        ->setHelp('This command crawls all the configuration files and updates the merge plan file.')
    ;
}

            
execute() protected method

protected execute( \Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output ): integer
$input \Symfony\Component\Console\Input\InputInterface
$output \Symfony\Component\Console\Output\OutputInterface

                protected function execute(InputInterface $input, OutputInterface $output): int
{
    new MergePlanProcess($this->requireComposer());
    return 0;
}