src/PeekAndPoke/Aviator/AppBuilder/Cli/AppBuildAllCommand.php
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $aviatorFile = AviatorFile::load();

        foreach ($aviatorFile->getApps() as $name => $fqcn) {

            /** @noinspection DisconnectedForeachInstructionInspection */
            $output->writeln('------------------------------------------------------------------------------');
            $output->writeln("Building app '{$name}'");
            /** @noinspection DisconnectedForeachInstructionInspection */
            $output->writeln('------------------------------------------------------------------------------');

            $app = new $fqcn($this->environment);

            $builder = new BootingAppBuilder();
            $builder->doFullBootBuild($app);

            /** @noinspection DisconnectedForeachInstructionInspection */
            $output->writeln('------------------------------------------------------------------------------');
            $output->writeln("Successfully built app '{$name}'");
            /** @noinspection DisconnectedForeachInstructionInspection */
            $output->writeln('------------------------------------------------------------------------------');
        }

        return 0;
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $aviatorFile = AviatorFile::load();

        foreach ($aviatorFile->getApps() as $name => $fqcn) {

            /** @noinspection DisconnectedForeachInstructionInspection */
            $output->writeln('------------------------------------------------------------------------------');
            $output->writeln("Building app '{$name}'");
            /** @noinspection DisconnectedForeachInstructionInspection */
            $output->writeln('------------------------------------------------------------------------------');

            $app = new $fqcn($this->environment);

            $builder = new BootingAppBuilder();
            $builder->doFullBootBuild($app);

            /** @noinspection DisconnectedForeachInstructionInspection */
            $output->writeln('------------------------------------------------------------------------------');
            $output->writeln("Successfully built app '{$name}'");
            /** @noinspection DisconnectedForeachInstructionInspection */
            $output->writeln('------------------------------------------------------------------------------');
        }

        return 0;
    }
@param InputInterface  $input
@param OutputInterface $output

@return mixed