/**
  * @return void
  * @throws \Exception caught calling required preset
  */
 public function parse()
 {
     if (!empty($this->dependencies)) {
         return;
     }
     $this->dependencies = array();
     $data = !is_array($this->data) ? array($this->data) : $this->data;
     foreach ($data as $preset_requires) {
         try {
             $preset = Loader::findPreset($preset_requires);
         } catch (\Exception $e) {
             throw new \Exception(sprintf('An error occurred trying to load a dependency for preset "%s" : "%s"', $this->preset->getName(), $e->getMessage()));
         }
         $this->dependencies[$preset_requires] = $preset;
     }
 }