__construct() public method

public __construct ( Twig_Environment $twig, Psr\Log\LoggerInterface $logger = null )
$twig Twig_Environment
$logger Psr\Log\LoggerInterface
 public function __construct(\Twig_Environment $twig, LoggerInterface $logger = null, ActiveTheme $activeTheme = null)
 {
     parent::__construct($twig, $logger);
     $this->activeTheme = $activeTheme;
     $this->twig = $twig;
     $this->logger = $logger;
 }
 public function __construct(TwitalLoader $twital, \Twig_Environment $twig)
 {
     $this->twital = $twital;
     parent::__construct($twig);
 }