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

グローバル空間のControllerに対応する #7

Merged
merged 1 commit into from
Nov 16, 2020

Conversation

sun3bow
Copy link
Collaborator

@sun3bow sun3bow commented Nov 16, 2020

DiiWebApplication::createController()は実行されるYiiのモジュールに$controllerNamespaceが未定義の場合は、一律でapplication\という名前空間内のControllerを探索する実装になっています。

グローバル空間のControllerクラスが見つけられないため、名前空間なしでControllerクラスを探索する処理を追加しました。

@koriym koriym merged commit 5198b3f into koriym:master Nov 16, 2020
@koriym
Copy link
Owner

koriym commented Nov 16, 2020

リリースしました。
https://github.com/koriym/dii/releases/tag/0.1.1

@sun3bow sun3bow deleted the fix-global-space-controller branch November 20, 2020 04:22
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.

2 participants