public function __construct(Injector $injector, CacheProvider $cache, $render)
{
$this->injector = $injector;
$this->cache = $cache;
$this->render = $render;
if ($render instanceof Render) {
@trigger_error('Passing Bolt\\Render to the widget queue constructor is deprecated since 3.3, use Twig_Environment instead.', E_USER_DEPRECATED);
}
}