コード例 #1
0
ファイル: SandboxedModule.php プロジェクト: jasmun/Noco100
 public function __construct(IfwPsn_Vendor_Twig_Node_Module $node, array $usedFilters, array $usedTags, array $usedFunctions)
 {
     parent::__construct($node->getNode('body'), $node->getNode('parent'), $node->getNode('blocks'), $node->getNode('macros'), $node->getNode('traits'), $node->getAttribute('embedded_templates'), $node->getAttribute('filename'), $node->getLine(), $node->getNodeTag());
     $this->setAttribute('index', $node->getAttribute('index'));
     $this->usedFilters = $usedFilters;
     $this->usedTags = $usedTags;
     $this->usedFunctions = $usedFunctions;
 }