Documentation

ConfiguredMediator extends PluginBase
in package

AbstractYes

Table of Contents

Properties

$config  : Config

Methods

__construct()  : mixed
Config has to be loaded on instantiation because on uninstall all external dependencies are removed before `uninstall` is called and auto-loading any external phar-io dependencies then will fail.
activate()  : mixed
createGnuPG()  : GnuPG|null
createInstaller()  : Installer
deactivate()  : mixed
getSubscribedEvents()  : mixed
installOrUpdateFunction()  : void
uninstall()  : mixed
getComposer()  : Composer
getDistributorConfig()  : string
getIO()  : IOInterface
isDesiredPackageEvent()  : bool
createInstallerFromConfig()  : Installer
createKeyDirectory()  : KeyDirectory
deleteFile()  : void
removePhars()  : void

Properties

Methods

__construct()

Config has to be loaded on instantiation because on uninstall all external dependencies are removed before `uninstall` is called and auto-loading any external phar-io dependencies then will fail.

public __construct() : mixed

activate()

public activate(Composer $composer, IOInterface $io) : mixed
Parameters
$composer : Composer
$io : IOInterface

createInstaller()

public createInstaller(string $pluginName, PackageEvent $event) : Installer
Parameters
$pluginName : string
$event : PackageEvent
Return values
Installer

deactivate()

public deactivate(Composer $composer, IOInterface $io) : mixed
Parameters
$composer : Composer
$io : IOInterface

getSubscribedEvents()

public static getSubscribedEvents() : mixed

installOrUpdateFunction()

public installOrUpdateFunction(PackageEvent $event) : void
Parameters
$event : PackageEvent

uninstall()

public uninstall(Composer $composer, IOInterface $io) : mixed
Parameters
$composer : Composer
$io : IOInterface

getComposer()

protected getComposer() : Composer
Return values
Composer

getDistributorConfig()

protected abstract getDistributorConfig() : string
Return values
string

getIO()

protected getIO() : IOInterface
Return values
IOInterface

isDesiredPackageEvent()

protected isDesiredPackageEvent(PackageEvent $event, string $pluginName) : bool
Parameters
$event : PackageEvent
$pluginName : string
Return values
bool

        
On this page

Search results