--
You received this message because you are subscribed to the Google Groups "thephpleague" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thephpleague...@googlegroups.com.
To post to this group, send email to thephp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thephpleague/b115a651-e8e0-4f71-ac58-db6f38857a24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/thephpleague/CAGOJM6LyG37yfjhZwDdNPZZS5PuuT4gCqwwKwf8tJCjxtnQhfw%40mail.gmail.com.
Not at all, it’s a pretty good alternative to superglobals however…
Not at all, it’s a pretty good alternative to superglobals however…The good idea will be pass the globals to construct. So no one need to worry about whether it is $_SERVER or anything . So it can be also taken from $request->toArray() ( Don't recall if there was to array in symfony , but there is something I guess ) .
--
You received this message because you are subscribed to the Google Groups "thephpleague" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thephpleague...@googlegroups.com.
To post to this group, send email to thephp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thephpleague/CAESZFt%2BzCTJ-Jv%3D_Cym1D8-aAd7g-rd5OaDE_5Mx-ga3DAj43w%40mail.gmail.com.
I guess my first reaction would be "why doesn't this use PSR-2"?
A couple of the thrown exceptions might be better as InvalidArgumentException.
Other than that, the package looks pretty good. I'm not really sure it meets the criteria for _why_ it should be included in League, since there are any number of other packages that do similar things.
Hi Benedict,Good work on building this package!So, as Woody put to you, why this package over another?
Further, the session/request filtering, I’m thinking now for the purposes of avoiding those superglobals, would it be better to inject a Symfony Request object in? At least that way you could inject `Request::createFromGlobals()` as a dependency…
Don’t let the scrutiny you’ll receive think we don’t _like_ your package, we need to perform this due diligence to ensure that we keep close to our core focus as a group.