|
71 | 71 | use Phug\Parser\Node\YieldNode; |
72 | 72 | use Phug\Parser\NodeInterface; |
73 | 73 | // Utils |
74 | | -use Phug\Util\AssociativeStorage; |
75 | 74 | use Phug\Util\ModuleContainerInterface; |
76 | 75 | use Phug\Util\Partial\ModuleContainerTrait; |
77 | 76 | use Phug\Util\SourceLocation; |
@@ -126,11 +125,6 @@ class Compiler implements ModuleContainerInterface, CompilerInterface |
126 | 125 | */ |
127 | 126 | private $layout; |
128 | 127 |
|
129 | | - /** |
130 | | - * @var AssociativeStorage |
131 | | - */ |
132 | | - private $mixins; |
133 | | - |
134 | 128 | /** |
135 | 129 | * @var NodeInterface |
136 | 130 | */ |
@@ -161,7 +155,6 @@ public function __construct($options = null) |
161 | 155 | 'parser_class_name' => Parser::class, |
162 | 156 | 'formatter_class_name' => Formatter::class, |
163 | 157 | 'locator_class_name' => FileLocator::class, |
164 | | - 'mixins_storage_mode' => AssociativeStorage::REPLACE, |
165 | 158 | 'compiler_modules' => [], |
166 | 159 | 'node_compilers' => [ |
167 | 160 | AssignmentListNode::class => AssignmentListNodeCompiler::class, |
@@ -229,11 +222,6 @@ public function __construct($options = null) |
229 | 222 | $this->setNodeCompiler($className, $handler); |
230 | 223 | } |
231 | 224 |
|
232 | | - $this->mixins = new AssociativeStorage( |
233 | | - 'mixin', |
234 | | - $this->getOption('mixins_storage_mode') |
235 | | - ); |
236 | | - |
237 | 225 | if ($onCompile = $this->getOption('on_compile')) { |
238 | 226 | $this->attach(CompilerEvent::COMPILE, $onCompile); |
239 | 227 | } |
|
0 commit comments