Closed KuceraMartin closed 3 years ago
HttpRequestFactory::createHttpRequest() renamed to fromGlobals() https://github.com/nette/http/commit/d73c9aa66b2bca1684204208804230f0fcb273fe
HttpRequestFactory::createHttpRequest()
fromGlobals()
Note that using the old name actually breaks things as Nette already uses the new fromGlobals method to create the Http\Request, which is not overloaded. As a result, the fake URL is not used in console mode.
fromGlobals
Http\Request
HttpRequestFactory::createHttpRequest()
renamed tofromGlobals()
https://github.com/nette/http/commit/d73c9aa66b2bca1684204208804230f0fcb273feNote that using the old name actually breaks things as Nette already uses the new
fromGlobals
method to create theHttp\Request
, which is not overloaded. As a result, the fake URL is not used in console mode.