src/Commands/Install.php
protected function runInstallCommand( $label, Command $command, InputInterface $input, OutputInterface $output ) {
		$buffered_output = new BufferedOutput();
		$buffered_output->setVerbosity( $output->getVerbosity() );

		$output->write( '<comment>Installing <info>' . $label . '</info> ...</comment>' );
		$command->run( $input, $buffered_output );
		$output->writeln( ' <info>Done</info>' );

		$buffered_output_value = $buffered_output->fetch();
		if ( ! empty( $buffered_output_value ) ) {
			$output->writeln( '---' );
			$output->writeln( trim( $buffered_output_value ) );
			$output->writeln( '---' );
		}
	}
protected function runInstallCommand( $label, Command $command, InputInterface $input, OutputInterface $output ) {
		$buffered_output = new BufferedOutput();
		$buffered_output->setVerbosity( $output->getVerbosity() );

		$output->write( '<comment>Installing <info>' . $label . '</info> ...</comment>' );
		$command->run( $input, $buffered_output );
		$output->writeln( ' <info>Done</info>' );

		$buffered_output_value = $buffered_output->fetch();
		if ( ! empty( $buffered_output_value ) ) {
			$output->writeln( '---' );
			$output->writeln( trim( $buffered_output_value ) );
			$output->writeln( '---' );
		}
	}
protected function runInstallCommand ( $ label , Command $ command , InputInterface $ input , OutputInterface $ output ) { $ buffered_output = new BufferedOutput ( ) ; $ buffered_output -> setVerbosity ( $ output -> getVerbosity ( ) ) ; $ output -> write ( '<comment>Installing <info>' . $ label . '</info> ...</comment>' ) ; $ command -> run ( $ input , $ buffered_output ) ; $ output -> writeln ( ' <info>Done</info>' ) ; $ buffered_output_value = $ buffered_output -> fetch ( ) ; if ( ! empty ( $ buffered_output_value ) ) { $ output -> writeln ( '---' ) ; $ output -> writeln ( trim ( $ buffered_output_value ) ) ; $ output -> writeln ( '---' ) ; } }
Install a preset

@param  string          $label
@param  Command         $command
@param  InputInterface  $input
@param  OutputInterface $output
@return void
Install a preset