\Composer\PluginCapable

Plugins which need to expose various implementations of the Composer Plugin Capabilities must have their declared Plugin class implementing this interface.

Summary

Methods
Constants
getCapabilities()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getCapabilities()

getCapabilities() : array<mixed,string>

Method by which a Plugin announces its API implementations, through an array with a special structure.

The key must be a string, representing a fully qualified class/interface name which Composer Plugin API exposes. The value must be a string as well, representing the fully qualified class name of the implementing class.

Returns

array<mixed,string>