Bolt\Render::__construct PHP Method

__construct() public method

Set up the object.
public __construct ( Silex\Application $app, boolean $safe = false )
$app Silex\Application
$safe boolean
    public function __construct(Silex\Application $app, $safe = false)
    {
        $this->app = $app;
        $this->safe = $safe;
        if ($safe) {
            $this->twigKey = 'safe_twig';
        } else {
            $this->twigKey = 'twig';
        }
    }