Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Winkler <git@lw1.at>2019-09-10 03:16:27 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-09-10 03:16:27 +0300
commit14c4688dab2f9fa13115adeb30477a9fcab467c7 (patch)
tree4c8003d992c625e29d04df6a13437ab239248dd7 /libs/Zend/Config/Writer/Array.php
parent9855f8c1aaa2e7af6725423ba047fdf54a821106 (diff)
remove Zend Config (#14875)
Diffstat (limited to 'libs/Zend/Config/Writer/Array.php')
-rw-r--r--libs/Zend/Config/Writer/Array.php55
1 files changed, 0 insertions, 55 deletions
diff --git a/libs/Zend/Config/Writer/Array.php b/libs/Zend/Config/Writer/Array.php
deleted file mode 100644
index 6871e1c2cc..0000000000
--- a/libs/Zend/Config/Writer/Array.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-/**
- * Zend Framework
- *
- * LICENSE
- *
- * This source file is subject to the new BSD license that is bundled
- * with this package in the file LICENSE.txt.
- * It is also available through the world-wide-web at this URL:
- * http://framework.zend.com/license/new-bsd
- * If you did not receive a copy of the license and are unable to
- * obtain it through the world-wide-web, please send an email
- * to license@zend.com so we can send you a copy immediately.
- *
- * @category Zend
- * @package Zend_Config
- * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- * @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Array.php 23775 2011-03-01 17:25:24Z ralph $
- */
-
-/**
- * @see Zend_Config_Writer
- */
-// require_once 'Zend/Config/Writer/FileAbstract.php';
-
-/**
- * @category Zend
- * @package Zend_Config
- * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- * @license http://framework.zend.com/license/new-bsd New BSD License
- */
-class Zend_Config_Writer_Array extends Zend_Config_Writer_FileAbstract
-{
- /**
- * Render a Zend_Config into a PHP Array config string.
- *
- * @since 1.10
- * @return string
- */
- public function render()
- {
- $data = $this->_config->toArray();
- $sectionName = $this->_config->getSectionName();
-
- if (is_string($sectionName)) {
- $data = array($sectionName => $data);
- }
-
- $arrayString = "<?php\n"
- . "return " . var_export($data, true) . ";\n";
-
- return $arrayString;
- }
-}