mirror of
https://github.com/composer/composer
synced 2025-05-08 16:17:37 +00:00

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.
23 lines
483 B
PHP
23 lines
483 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Composer.
|
|
*
|
|
* (c) Nils Adermann <naderman@naderman.de>
|
|
* Jordi Boggiano <j.boggiano@seld.be>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Composer\Test\Plugin\Mock;
|
|
|
|
class Capability implements \Composer\Plugin\Capability\Capability
|
|
{
|
|
public $args;
|
|
|
|
public function __construct(array $args)
|
|
{
|
|
$this->args = $args;
|
|
}
|
|
}
|