-
-
Notifications
You must be signed in to change notification settings - Fork 74
Compiler::parseServices: allow prefixing service name in the config #85
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
Conversation
|
Nice one! 👍 |
|
Nice! |
|
What about something like |
|
Hmmm, passing service names to methods seems like antipattern. |
7b4d0ec to
b450498
Compare
|
updated |
|
Great! I'm just not quite sure that |
|
I'm not sure either since it is used for self-referencing service. btw, maybe this could be moved to the ContainerBuilder so you can use |
Good idea 👍 What about |
I can imagine that it could cause complications, for example when somebody will |
|
|
231a29c to
7f12a9f
Compare
b450498 to
c2b87de
Compare
src/DI/Compiler.php
Outdated
| } elseif ($namespace) { | ||
| $name = $namespace . '.' . $name; | ||
| } | ||
| if ($namespace) { |
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.
Can you move it bellow next condition?
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.
done
…ices from a same extension
c2b87de to
2a2be47
Compare
|
Thanks! |
|
great! now I can finally fix the doc :) |
ref nette/docs#377
cc @Majkl578 @greeny