src/GreenCape/JoomlaCLI/Commands/Install.php
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;
	}
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;
	}
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 ; }
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
Prepare the installation for an extension specified by a directory