Browse Source

add missing interface

Bilal Amarni 8 năm trước cách đây
mục cha
commit
c1bc50dd2a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      doc/articles/plugins.md

+ 2 - 1
doc/articles/plugins.md

@@ -237,8 +237,9 @@ namespace My\Composer;
 use Composer\Composer;
 use Composer\IO\IOInterface;
 use Composer\Plugin\PluginInterface;
+use Composer\Plugin\Capable;
 
-class Plugin implements PluginInterface
+class Plugin implements PluginInterface, Capable
 {
     public function activate(Composer $composer, IOInterface $io)
     {