/**
  * {@inheritdoc}
  *
  * @throws RuntimeException If the current directory has not yet been set.
  */
 public function getVars()
 {
     if (!$this->innerCollection) {
         $this->loadCollection();
     }
     return $this->innerCollection->getVars();
 }
 public function __construct(AssetCollectionInterface $coll, \SplObjectStorage $clones)
 {
     $this->assets = $coll->all();
     $this->filters = $coll->getFilters();
     $this->vars = $coll->getVars();
     $this->output = $coll->getTargetPath();
     $this->clones = $clones;
     if (false === ($pos = strrpos($this->output, '.'))) {
         $this->output .= '_*';
     } else {
         $this->output = substr($this->output, 0, $pos) . '_*' . substr($this->output, $pos);
     }
 }