Exemplo n.º 1
0
 protected function _getData($file)
 {
     $configFilename = $file->getAbsolutePath();
     $data = Tools::loadConfig($configFilename, 'xml');
     $properties = $this->project->getProperties();
     foreach ($properties as $key => &$value) {
         $value = $this->project->getProperty($key);
     }
     $phingData = Converter::ini2array($properties);
     Converter::normalizeForXml($phingData);
     $data['config']['phing'] = $phingData;
     $result = $data;
     return $result;
 }