UpdateRecipesCommand
extends BaseCommand
Table of Contents
-
$configurator
: mixed
-
$downloader
: mixed
-
$flex
: Flex
-
$githubApi
: mixed
-
$processExecutor
: mixed
-
$rootDir
: mixed
-
__construct()
: mixed
-
configure()
: mixed
-
execute()
: int
-
askForPackage()
: string|null
-
generateChangelog()
: array<string|int, mixed>|null
-
getProcessExecutor()
: ProcessExecutor
-
getRecipe()
: Recipe|null
-
isIndexClean()
: bool
$configurator
private
mixed
$configurator
$downloader
private
mixed
$downloader
$flex
private
Flex
$flex
$githubApi
private
mixed
$githubApi
$processExecutor
private
mixed
$processExecutor
$rootDir
private
mixed
$rootDir
__construct()
public
__construct(mixed $flex, Downloader $downloader, mixed $httpDownloader, Configurator $configurator, string $rootDir) : mixed
Parameters
-
$flex
: mixed
-
-
$downloader
: Downloader
-
-
$httpDownloader
: mixed
-
-
$configurator
: Configurator
-
-
$rootDir
: string
-
Return values
mixed
—
protected
configure() : mixed
Return values
mixed
—
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
-
$input
: InputInterface
-
-
$output
: OutputInterface
-
Return values
int
—
askForPackage()
private
askForPackage(IOInterface $io, Lock $symfonyLock) : string|null
Parameters
-
$io
: IOInterface
-
-
$symfonyLock
: Lock
-
Return values
string|null
—
generateChangelog()
private
generateChangelog(Recipe $originalRecipe) : array<string|int, mixed>|null
Parameters
-
$originalRecipe
: Recipe
-
Return values
array<string|int, mixed>|null
—
getProcessExecutor()
private
getProcessExecutor() : ProcessExecutor
Return values
ProcessExecutor
—
getRecipe()
private
getRecipe(PackageInterface $package[, string $recipeRef = null ][, string $recipeVersion = null ]) : Recipe|null
Parameters
-
$package
: PackageInterface
-
-
$recipeRef
: string
= null
-
-
$recipeVersion
: string
= null
-
Return values
Recipe|null
—
isIndexClean()
private
isIndexClean(IOInterface $io) : bool
Parameters
-
$io
: IOInterface
-
Return values
bool
—