original_string: private function handleDirectory(OutputInterface $output, $source)
  	{
  		$tmpDir  = $this->joomla->getCfg('tmp_path');
  		$tmpPath = $tmpDir . '/' . uniqid('install_');
  		$this->writeln($output, "Copying $source", OutputInterface::VERBOSITY_VERBOSE);
  
  		mkdir($tmpPath);
  		copy($source, $tmpPath);
  
  		return $tmpPath;
  	}
code: private function handleDirectory(OutputInterface $output, $source)
  	{
  		$tmpDir  = $this->joomla->getCfg('tmp_path');
  		$tmpPath = $tmpDir . '/' . uniqid('install_');
  		$this->writeln($output, "Copying $source", OutputInterface::VERBOSITY_VERBOSE);
  
  		mkdir($tmpPath);
  		copy($source, $tmpPath);
  
  		return $tmpPath;
  	}
code_tokens: private function handleDirectory ( OutputInterface $ output , $ source ) { $ tmpDir = $ this -> joomla -> getCfg ( 'tmp_path' ) ; $ tmpPath = $ tmpDir . '/' . uniqid ( 'install_' ) ; $ this -> writeln ( $ output , "Copying $source" , OutputInterface :: VERBOSITY_VERBOSE ) ; mkdir ( $ tmpPath ) ; copy ( $ source , $ tmpPath ) ; return $ tmpPath ; }
docstring: Prepare the installation for an extension specified by a directory
  
  @param   OutputInterface $output An OutputInterface instance
  @param   string          $source The extension source
  
  @return  string  The location of the prepared extension
docstring_tokens: Prepare the installation for an extension specified by a directory