David Grudl
David Grudl
Tak GitLab jsem nikdy neviděl a o GA víme všichni stejné málo. Takže jsi vlastně profesionál :)
RequestStack is not suitable for Nette, because it solves a different problem (as @JanTvrdik said, Nette has stack of Application\Request). When you need to create Http\Request inside Application, Nette has...
@fprochazka I understand. (btw, value object can be service.)
"Identity is not a service → value object as a service is wrong" is [fallacy of the converse](http://en.wikipedia.org/wiki/Affirming_the_consequent).
@fprochazka in [czech](http://cs.wikipedia.org/wiki/Argumentační_klam#Dolo.C5.BEen.C3.AD_vypl.C3.BDvaj.C3.ADc.C3.ADho). Prove that for each value object is wrong to have it as a service.
@fprochazka You said that the value object cannot be a service, which is a strong & general statement, but you cannot prove it (the fact that some value objects cannot...
Here. It is off topic.
Related https://github.com/nette/routing/issues/6
Of course, you're free to do that. Please use the forum for discussion https://forum.nette.org.
This is more of a general PHP thing and not specifically related to the framework. However, there is something about it in the documentation: https://doc.nette.org/cs/dependency-injection/passing-dependencies