Flex
in package
implements
PluginInterface, EventSubscriberInterface
Tags
Table of Contents
Interfaces
- PluginInterface
- EventSubscriberInterface
Properties
- $activated : mixed
- $aliasResolveCommands : mixed
- $composer : Composer
- $config : mixed
- $configurator : mixed
- $displayThanksReminder : mixed
- $downloader : mixed
- $dryRun : mixed
- $filter : mixed
- $installer : Installer
- $io : IOInterface
- $lock : mixed
- $operations : mixed
- $options : mixed
- $postInstallOutput : mixed
- $reinstall : mixed
Methods
- activate() : mixed
- configureInstaller() : mixed
- configureProject() : mixed
- deactivate() : mixed
- enableThanksReminder() : mixed
- executeAutoScripts() : mixed
- fetchRecipes() : array<string|int, Recipe>
- finish() : void
- getComposerJsonHash() : string
- getLock() : Lock
- getSubscribedEvents() : array<string|int, mixed>
- install() : mixed
- record() : mixed
- recordFlexInstall() : mixed
- recordOperations() : mixed
- truncatePackages() : mixed
- uninstall() : mixed
- update() : mixed
- doesRecipeConflict() : bool
- formatOrigin() : string
- initOptions() : Options
- reinstall() : mixed
- shouldRecordOperation() : bool
- synchronizePackageJson() : mixed
- unpack() : mixed
- updateComposerLock() : mixed
Properties
$activated
private
static mixed
$activated
= true
$aliasResolveCommands
private
static mixed
$aliasResolveCommands
= ['require' => true, 'update' => false, 'remove' => false, 'unpack' => true]
$composer
private
Composer
$composer
$config
private
mixed
$config
$configurator
private
mixed
$configurator
$displayThanksReminder
private
mixed
$displayThanksReminder
= 0
$downloader
private
mixed
$downloader
$dryRun
private
mixed
$dryRun
= false
$filter
private
mixed
$filter
$installer
private
Installer
$installer
$io
private
IOInterface
$io
$lock
private
mixed
$lock
$operations
private
mixed
$operations
= []
$options
private
mixed
$options
$postInstallOutput
private
mixed
$postInstallOutput
= ['']
$reinstall
private
mixed
$reinstall
Methods
activate()
public
activate(Composer $composer, IOInterface $io) : mixed
Parameters
- $composer : Composer
- $io : IOInterface
configureInstaller()
public
configureInstaller() : mixed
configureProject()
public
configureProject(Event $event) : mixed
Parameters
- $event : Event
deactivate()
public
deactivate(Composer $composer, IOInterface $io) : mixed
Parameters
- $composer : Composer
- $io : IOInterface
enableThanksReminder()
public
enableThanksReminder() : mixed
executeAutoScripts()
public
executeAutoScripts(Event $event) : mixed
Parameters
- $event : Event
fetchRecipes()
public
fetchRecipes(array<string|int, mixed> $operations, bool $reset) : array<string|int, Recipe>
Parameters
- $operations : array<string|int, mixed>
- $reset : bool
Return values
array<string|int, Recipe>finish()
public
finish(string $rootDir[, string $originalComposerJsonHash = null ]) : void
Parameters
- $rootDir : string
- $originalComposerJsonHash : string = null
getComposerJsonHash()
public
getComposerJsonHash() : string
Return values
stringgetLock()
public
getLock() : Lock
Return values
LockgetSubscribedEvents()
public
static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>install()
public
install(Event $event) : mixed
Parameters
- $event : Event
record()
public
record(PackageEvent $event) : mixed
Parameters
- $event : PackageEvent
recordFlexInstall()
public
recordFlexInstall(PackageEvent $event) : mixed
Parameters
- $event : PackageEvent
recordOperations()
public
recordOperations(InstallerEvent $event) : mixed
Parameters
- $event : InstallerEvent
truncatePackages()
public
truncatePackages(PrePoolCreateEvent $event) : mixed
Parameters
- $event : PrePoolCreateEvent
uninstall()
public
uninstall(Composer $composer, IOInterface $io) : mixed
Parameters
- $composer : Composer
- $io : IOInterface
update()
public
update(Event $event[, mixed $operations = [] ]) : mixed
Parameters
- $event : Event
- $operations : mixed = []
doesRecipeConflict()
private
doesRecipeConflict(array<string|int, mixed> $recipeData, OperationInterface $operation) : bool
Parameters
- $recipeData : array<string|int, mixed>
- $operation : OperationInterface
Return values
boolformatOrigin()
private
formatOrigin(Recipe $recipe) : string
Parameters
- $recipe : Recipe
Return values
stringinitOptions()
private
initOptions() : Options
Return values
Optionsreinstall()
private
reinstall(Event $event, bool $update) : mixed
Parameters
- $event : Event
- $update : bool
shouldRecordOperation()
private
shouldRecordOperation(OperationInterface $operation, bool $isDevMode[, Composer $composer = null ]) : bool
Parameters
- $operation : OperationInterface
- $isDevMode : bool
- $composer : Composer = null
Return values
boolsynchronizePackageJson()
private
synchronizePackageJson(string $rootDir) : mixed
Parameters
- $rootDir : string
unpack()
private
unpack(Event $event) : mixed
Parameters
- $event : Event
updateComposerLock()
private
updateComposerLock() : mixed