Assetic\Extension\Twig\TwigFormulaLoader::__construct PHP 메소드

__construct() 공개 메소드

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

예제 #1
0
 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