OrpheusPlugin
implements
PluginInterface, EventSubscriberInterface
Table of Contents
Interfaces
- PluginInterface
- EventSubscriberInterface
Constants
-
EXTENSION_TYPE
= 'orpheus-library'
Properties
-
$composer
: Composer
-
$io
: IOInterface
Methods
-
activate()
: void
-
deactivate()
: mixed
-
getSubscribedEvents()
: array<string|int, mixed>
-
onPostUpdate()
: void
-
uninstall()
: mixed
-
getApplicationPath()
: string
-
getInstalledOrpheusLibraries()
: array<string|int, mixed>
EXTENSION_TYPE
public
mixed
EXTENSION_TYPE
= 'orpheus-library'
$composer
protected
Composer
$composer
$io
protected
IOInterface
$io
activate()
public
activate(Composer $composer, IOInterface $io) : void
Parameters
-
$composer
: Composer
-
-
$io
: IOInterface
-
deactivate()
public
deactivate(Composer $composer, IOInterface $io) : mixed
Parameters
-
$composer
: Composer
-
-
$io
: IOInterface
-
getSubscribedEvents()
public
static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>
onPostUpdate()
public
onPostUpdate(Event $event) : void
Parameters
-
$event
: Event
-
uninstall()
public
uninstall(Composer $composer, IOInterface $io) : mixed
Parameters
-
$composer
: Composer
-
-
$io
: IOInterface
-
getApplicationPath()
protected
getApplicationPath() : string
getInstalledOrpheusLibraries()
protected
getInstalledOrpheusLibraries() : array<string|int, mixed>
Return values
array<string|int, mixed>