original_string: protected function execute(InputInterface $input, OutputInterface $output)
  	{
  		$this->setupEnvironment('administrator', $input, $output);
  
  		// Enable debug, so that JInstaller::install() throws exceptions on problems
  		$this->joomla->setCfg('debug', 1);
  
  		$installer = \JInstaller::getInstance();
  
  		if ($installer->install($this->handleExtension($input, $output)))
  		{
  			$output->writeln($this->getExtensionInfo($installer));
  
  			return 0;
  		}
  		else
  		{
  			$output->writeln('Installation failed due to unknown reason.');
  
  			return 1;
  		}
  	}
code: protected function execute(InputInterface $input, OutputInterface $output)
  	{
  		$this->setupEnvironment('administrator', $input, $output);
  
  		// Enable debug, so that JInstaller::install() throws exceptions on problems
  		$this->joomla->setCfg('debug', 1);
  
  		$installer = \JInstaller::getInstance();
  
  		if ($installer->install($this->handleExtension($input, $output)))
  		{
  			$output->writeln($this->getExtensionInfo($installer));
  
  			return 0;
  		}
  		else
  		{
  			$output->writeln('Installation failed due to unknown reason.');
  
  			return 1;
  		}
  	}
code_tokens: protected function execute ( InputInterface $ input , OutputInterface $ output ) { $ this -> setupEnvironment ( 'administrator' , $ input , $ output ) ; // Enable debug, so that JInstaller::install() throws exceptions on problems $ this -> joomla -> setCfg ( 'debug' , 1 ) ; $ installer = \ JInstaller :: getInstance ( ) ; if ( $ installer -> install ( $ this -> handleExtension ( $ input , $ output ) ) ) { $ output -> writeln ( $ this -> getExtensionInfo ( $ installer ) ) ; return 0 ; } else { $ output -> writeln ( 'Installation failed due to unknown reason.' ) ; return 1 ; } }
docstring: Execute the install command
  
  @param   InputInterface  $input  An InputInterface instance
  @param   OutputInterface $output An OutputInterface instance
  
  @return  integer  0 if everything went fine, 1 on error
docstring_tokens: Execute the install command