Compiler::parseServices: allow prefixing service name in the config#85
Compiler::parseServices: allow prefixing service name in the config#85dg merged 1 commit intonette:masterfrom
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.
Can you move it bellow next condition?
…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