RecipesCommand
extends BaseCommand
in package
Tags
Table of Contents
Properties
- $flex : Flex
- $githubApi : GithubApi
- $symfonyLock : Lock
Methods
- __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
- generateFilesTree() : array<string|int, mixed>
- writeTreeLine() : mixed
Properties
$flex
private
Flex
$flex
$githubApi
private
GithubApi
$githubApi
$symfonyLock
private
Lock
$symfonyLock
Methods
__construct()
public
__construct(mixed $flex, Lock $symfonyLock, HttpDownloader $downloader) : mixed
Parameters
- $flex : mixed
- $symfonyLock : Lock
- $downloader : HttpDownloader
configure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
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>
displayPackageInformation()
private
displayPackageInformation(Recipe $recipe) : mixed
Parameters
- $recipe : Recipe
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
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