private function createInnerAsset() { if ($this->innerAsset) { throw new RuntimeException('The inner asset must be created only once.'); } $this->innerAsset = $this->factory->parseInputWithFixedValues($this->input, $this->currentDir, $this->roots, $this->vars, $this->values); foreach ($this->filters as $filter) { $this->innerAsset->ensureFilter($filter); } if (null !== $this->content) { $this->innerAsset->setContent($this->content); } if (null !== $this->targetPath) { $this->innerAsset->setTargetPath($this->targetPath); } // GC $this->factory = null; $this->input = null; $this->currentDir = null; $this->roots = null; $this->content = null; $this->targetPath = null; }