-
Notifications
You must be signed in to change notification settings - Fork 653
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
PluginManager から $app を削除, Abstract メソッド追加 #3707
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
abstractメソッドにすると各PluginManagerで全メソッドを書かないといけないので、abstractはなしでいいと思います。
* @param string $version | ||
* @return array An array of migration sql statements. This will be empty if the the $confirm callback declines to execute the migration | ||
*/ | ||
public function migrationSchema(ContainerInterface $container, $migrationFilePath, $pluginCode, $version = null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
スキーマ更新は本体側で行うので、migrationSchema
メソッドは削除していいと思います。
#2546
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
対応しました。
@@ -21,66 +21,58 @@ | |||
{ | |||
const MIGRATION_TABLE_PREFIX = 'migration_'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MIGRATION_TABLE_PREFIX
も不要かと思います。
概要(Overview・Refs Issue)
テスト(Test)
相談(Discussion)
$app を使いたい人もいると思うので、$app を動くようにした方がよいかも
マイナーバージョン互換性保持のための制限事項チェックリスト