public function install()
	{
		if ($this->arguments->getOpt('package'))
		{
			$package = $this->arguments->getOpt('package');
		}
		if ($this->arguments->getOpt('version'))
		{
			$version = $this->arguments->getOpt('version');
		}
		if (!isset($package) || !isset($version))
		{
			$this->output->error('A package name and version is required');
		}

		try
		{
			Composer::installPackage($package, $version);
		}
		catch (Exception $e)
		{

		}
		$this->output->addLine("Done.  $package($version) installed.");
	}
public function install()
	{
		if ($this->arguments->getOpt('package'))
		{
			$package = $this->arguments->getOpt('package');
		}
		if ($this->arguments->getOpt('version'))
		{
			$version = $this->arguments->getOpt('version');
		}
		if (!isset($package) || !isset($version))
		{
			$this->output->error('A package name and version is required');
		}

		try
		{
			Composer::installPackage($package, $version);
		}
		catch (Exception $e)
		{

		}
		$this->output->addLine("Done.  $package($version) installed.");
	}
public function install ( ) { if ( $ this -> arguments -> getOpt ( 'package' ) ) { $ package = $ this -> arguments -> getOpt ( 'package' ) ; } if ( $ this -> arguments -> getOpt ( 'version' ) ) { $ version = $ this -> arguments -> getOpt ( 'version' ) ; } if ( ! isset ( $ package ) || ! isset ( $ version ) ) { $ this -> output -> error ( 'A package name and version is required' ) ; } try { Composer :: installPackage ( $ package , $ version ) ; } catch ( Exception $ e ) { } $ this -> output -> addLine ( "Done.  $package($version) installed." ) ; }
Add a package

@museDescription Installs a package

@return  void
Add a package