/**
  * Configures the current configuration.
  */
 public function configure()
 {
     parent::configure();
     if ($this->hasDimension()) {
         $this->setCacheDir($this->getRootDir() . '/cache/' . $this->dimension->getName());
     }
 }