I'm trying to get a new instance of view, which is declared as shared in bootstrap. I tried with
$this->di->get("view") but is returning the shared one. There is any way to get a new instance of view?
So far I only see 2 options, but I don't quite like any of them:
- set the current view as not shared in bootstrap, but this will break existing functionality
- set a new view that is not shared