Documentation

Plugin
in package
implements PluginInterface, EventSubscriberInterface

Interfaces, Classes, Traits and Enums

PluginInterface
EventSubscriberInterface

Table of Contents

$generatedFileTemplate  : string
activate()  : void
deactivate()  : void
getSubscribedEvents()  : array<string, string>
process()  : void
uninstall()  : void

Properties

$generatedFileTemplate

private static string $generatedFileTemplate = <<<'PHP' <?php declare(strict_types = 1); namespace PHPStan\ExtensionInstaller; /** * This class is generated by phpstan/extension-installer. * @internal */ final class GeneratedConfig { public const EXTENSIONS = %s; public const NOT_INSTALLED = %s; private function __construct() { } } PHP

Methods

activate()

public activate(Composer $composer, IOInterface $io) : void
Parameters
$composer : Composer
$io : IOInterface
Return values
void

deactivate()

public deactivate(Composer $composer, IOInterface $io) : void
Parameters
$composer : Composer
$io : IOInterface
Return values
void

getSubscribedEvents()

public static getSubscribedEvents() : array<string, string>
Return values
array<string, string>

process()

public process(Event $event) : void
Parameters
$event : Event
Return values
void

uninstall()

public uninstall(Composer $composer, IOInterface $io) : void
Parameters
$composer : Composer
$io : IOInterface
Return values
void

Search results