1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

Added Capable plugins for a more future-proof Plugin API

Plugins can now present their capabilities to the PluginManager, through which it can act accordingly, thus making Plugin API more flexible, BC-friendly and decoupled.
This commit is contained in:
nevvermind 2015-06-09 11:33:57 +01:00
parent 7d7b3ccb2a
commit 2051d74774
7 changed files with 235 additions and 13 deletions

View file

@ -23,14 +23,14 @@ use Composer\IO\IOInterface;
interface PluginInterface
{
/**
* Version number of the fake composer-plugin-api package
* Version number of the internal composer-plugin-api package
*
* @var string
*/
const PLUGIN_API_VERSION = '1.0.0';
const PLUGIN_API_VERSION = '1.1.0';
/**
* Apply plugin modifications to composer
* Apply plugin modifications to Composer
*
* @param Composer $composer
* @param IOInterface $io