public function update()
	{
		$package = $this->arguments->getOpt('package');
		if (empty($package))
		{
			$this->output->error('A package name is required');
		}

		Composer::updatePackage($package);
		$this->output->addLine("Done. $package updated to latest version");
	}
public function update()
	{
		$package = $this->arguments->getOpt('package');
		if (empty($package))
		{
			$this->output->error('A package name is required');
		}

		Composer::updatePackage($package);
		$this->output->addLine("Done. $package updated to latest version");
	}
public function update ( ) { $ package = $ this -> arguments -> getOpt ( 'package' ) ; if ( empty ( $ package ) ) { $ this -> output -> error ( 'A package name is required' ) ; } Composer :: updatePackage ( $ package ) ; $ this -> output -> addLine ( "Done. $package updated to latest version" ) ; }
Update a package

@museDescription Updates a package according to version constraints

@return void
Update a package