Assetic\Extension\Twig\TwigFormulaLoader::__construct PHP Method

__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)
    {
        $this->twig = $twig;
        $this->logger = $logger;
    }

Usage Example

 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;
 }
All Usage Examples Of Assetic\Extension\Twig\TwigFormulaLoader::__construct