mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-22 16:15:34 +08:00
update plugin install and load strategy
This commit is contained in:
15
src/ZM/Plugin/Strategy/ComposerStrategy.php
Normal file
15
src/ZM/Plugin/Strategy/ComposerStrategy.php
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user