Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Config / Writer / PhpArray.php
blob478a006ad8d300e0a6ba682fcb773b301f5a2e47
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Config\Writer;
12 class PhpArray extends AbstractWriter
14 /**
15 * processConfig(): defined by AbstractWriter.
17 * @param array $config
18 * @return string
20 public function processConfig(array $config)
22 $arrayString = "<?php\n"
23 . "return " . var_export($config, true) . ";\n";
25 return $arrayString;