Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installScript及uninstallScript无法调用问题 #2

Closed
wants to merge 1 commit into from

Conversation

ljk123
Copy link

@ljk123 ljk123 commented Jun 14, 2024

创建插件命令时,是将InstallScript&UninstallScript放在composer下的,但是调用的时候调用的根结点的
$output->composer = [
'require' => [],
'psr-4' => [
$namespace . '\' => 'src',
],
'installScript' => $namespace . '\InstallScript',
'uninstallScript' => $namespace . '\UninstallScript',
'config' => $namespace . '\ConfigProvider',
];

@ljk123 ljk123 closed this Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant