mediatekformation

RecipesCommand extends BaseCommand
in package

Tags
author

Maxime Hélias maximehelias16@gmail.com

Table of Contents

$downloader  : mixed
$flex  : Flex
$symfonyLock  : mixed
__construct()  : mixed
configure()  : mixed
execute()  : mixed
addNode()  : array<string|int, mixed>
displayFilesTree()  : mixed
Note : We do not display file modification information with Configurator like ComposerScripts, Container, DockerComposer, Dockerfile, Env, Gitignore and Makefile.
displayPackageInformation()  : mixed
displayTree()  : mixed
findRecipeCommitDataFromTreeRef()  : mixed
Attempts to find the original git sha when the recipe was installed.
generateFilesTree()  : array<string|int, mixed>
requestGitHubApi()  : mixed
writeTreeLine()  : mixed

Properties

Methods

__construct()

public __construct(mixed $flex, Lock $symfonyLock, mixed $downloader) : mixed
Parameters
$flex : mixed
$symfonyLock : Lock
$downloader : mixed
Return values
mixed

configure()

protected configure() : mixed
Return values
mixed

addNode()

private addNode(array<string|int, mixed> $node) : array<string|int, mixed>
Parameters
$node : array<string|int, mixed>
Return values
array<string|int, mixed>

displayFilesTree()

Note : We do not display file modification information with Configurator like ComposerScripts, Container, DockerComposer, Dockerfile, Env, Gitignore and Makefile.

private displayFilesTree(array<string|int, mixed> $tree) : mixed
Parameters
$tree : array<string|int, mixed>
Return values
mixed

displayPackageInformation()

private displayPackageInformation(Recipe $recipe) : mixed
Parameters
$recipe : Recipe
Return values
mixed

displayTree()

private displayTree(array<string|int, mixed> $tree[, mixed $previousTreeBar = '├' ][, mixed $level = 1 ]) : mixed
Parameters
$tree : array<string|int, mixed>
$previousTreeBar : mixed = '├'
$level : mixed = 1
Return values
mixed

findRecipeCommitDataFromTreeRef()

Attempts to find the original git sha when the recipe was installed.

private findRecipeCommitDataFromTreeRef(string $package, string $repo, string $branch, string $version, string $lockRef) : mixed
Parameters
$package : string
$repo : string
$branch : string
$version : string
$lockRef : string
Return values
mixed

generateFilesTree()

private generateFilesTree(array<string|int, mixed> $files) : array<string|int, mixed>
Parameters
$files : array<string|int, mixed>
Return values
array<string|int, mixed>

requestGitHubApi()

private requestGitHubApi(string $path) : mixed
Parameters
$path : string
Return values
mixed

writeTreeLine()

private writeTreeLine(mixed $line) : mixed
Parameters
$line : mixed
Return values
mixed

Search results