Documentation

RecipesCommand extends BaseCommand
in package

Tags
author

Maxime Hélias maximehelias16@gmail.com

Table of Contents

$flex  : Flex
$githubApi  : mixed
$symfonyLock  : mixed
__construct()  : mixed
configure()  : mixed
execute()  : int
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
generateFilesTree()  : array<string|int, 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

generateFilesTree()

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

writeTreeLine()

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

Search results