PHP Class rg\broker\commands\AddRepository

Inheritance: extends Symfony\Component\Console\Command\Command
Datei anzeigen Open project: researchgate/broker

Protected Methods

Method Description
configure ( )
createZipFile ( string $cacheDir, string $targetDir, Composer\Package\PackageInterface $package, Symfony\Component\Console\Output\OutputInterface $output, Composer\Util\ProcessExecutor $process ) : string
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getInstalledPackages ( string $cacheDir ) : array
getPackageArray ( string $targetDir, string $repositoryUrl, Composer\Package\Dumper\ArrayDumper $dumper, Composer\Package\PackageInterface $package, string $zipfileName ) : array

Method Details

configure() protected method

protected configure ( )

createZipFile() protected method

protected createZipFile ( string $cacheDir, string $targetDir, Composer\Package\PackageInterface $package, Symfony\Component\Console\Output\OutputInterface $output, Composer\Util\ProcessExecutor $process ) : string
$cacheDir string
$targetDir string
$package Composer\Package\PackageInterface
$output Symfony\Component\Console\Output\OutputInterface
$process Composer\Util\ProcessExecutor
return string

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getInstalledPackages() protected method

protected getInstalledPackages ( string $cacheDir ) : array
$cacheDir string
return array

getPackageArray() protected method

protected getPackageArray ( string $targetDir, string $repositoryUrl, Composer\Package\Dumper\ArrayDumper $dumper, Composer\Package\PackageInterface $package, string $zipfileName ) : array
$targetDir string
$repositoryUrl string
$dumper Composer\Package\Dumper\ArrayDumper
$package Composer\Package\PackageInterface
$zipfileName string
return array