update plugin install and load strategy

This commit is contained in:
crazywhalecc
2023-02-28 23:07:09 +08:00
committed by Jerry
parent 9c599ff54b
commit 64c22328a1
10 changed files with 336 additions and 134 deletions

View File

@@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace ZM\Plugin\Strategy;
class ComposerStrategy extends PluginInstallStrategy
{
public function install(array $option = []): bool
{
// TODO: Composer 类型的插件还没有实现怎么安装,但很简单。这次 Commit 我偏要鸽!
$this->error = 'Not implemented';
return false;
}
}