Bolt\Asset\Widget\Queue::__construct PHP Method

__construct() public method

NOTE: Constructor type hint for TwigEnvironment omitted for BC, add in v4
public __construct ( Bolt\Asset\Injector $injector, CacheProvider $cache, Twig_Environment $render )
$injector Bolt\Asset\Injector
$cache Doctrine\Common\Cache\CacheProvider
$render Twig_Environment
    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);
        }
    }