public function __construct(Twig_Environment $twig) { $this->twig = $twig; $this->gk_groups = Gatekeeper::findGroups(); }