BundlesConfigurator
extends AbstractConfigurator
in package
Tags
Table of Contents
- $composer : mixed
- $io : mixed
- $options : mixed
- $path : mixed
- __construct() : mixed
- configure() : mixed
- unconfigure() : mixed
- isFileMarked() : bool
- isFileXmlMarked() : bool
- markData() : string
- markXmlData() : string
- updateData() : bool
- write() : mixed
- dump() : mixed
- getConfFile() : string
- load() : array<string|int, mixed>
- parse() : array<string|int, mixed>
Properties
$composer
protected
mixed
$composer
$io
protected
mixed
$io
$options
protected
mixed
$options
$path
protected
mixed
$path
Methods
__construct()
public
__construct(Composer $composer, IOInterface $io, Options $options) : mixed
Parameters
- $composer : Composer
- $io : IOInterface
- $options : Options
Return values
mixed —configure()
public
configure(Recipe $recipe, mixed $bundles, Lock $lock[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
Return values
mixed —unconfigure()
public
unconfigure(Recipe $recipe, mixed $bundles, Lock $lock) : mixed
Parameters
Return values
mixed —isFileMarked()
protected
isFileMarked(Recipe $recipe, string $file) : bool
Parameters
- $recipe : Recipe
- $file : string
Return values
bool —isFileXmlMarked()
protected
isFileXmlMarked(Recipe $recipe, string $file) : bool
Parameters
- $recipe : Recipe
- $file : string
Return values
bool —markData()
protected
markData(Recipe $recipe, string $data) : string
Parameters
- $recipe : Recipe
- $data : string
Return values
string —markXmlData()
protected
markXmlData(Recipe $recipe, string $data) : string
Parameters
- $recipe : Recipe
- $data : string
Return values
string —updateData()
protected
updateData(string $file, string $data) : bool
Parameters
- $file : string
- $data : string
Return values
bool —True if section was found and replaced
write()
protected
write(mixed $messages) : mixed
Parameters
- $messages : mixed
Return values
mixed —dump()
private
dump(string $file, array<string|int, mixed> $bundles) : mixed
Parameters
- $file : string
- $bundles : array<string|int, mixed>
Return values
mixed —getConfFile()
private
getConfFile() : string
Return values
string —load()
private
load(string $file) : array<string|int, mixed>
Parameters
- $file : string
Return values
array<string|int, mixed> —parse()
private
parse(array<string|int, mixed> $manifest, array<string|int, mixed> $registered) : array<string|int, mixed>
Parameters
- $manifest : array<string|int, mixed>
- $registered : array<string|int, mixed>