comparison vendor/zendframework/zend-stdlib/src/ArrayUtils/MergeReplaceKey.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
4 *
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
9
10 namespace Zend\Stdlib\ArrayUtils;
11
12 final class MergeReplaceKey implements MergeReplaceKeyInterface
13 {
14 /**
15 * @var mixed
16 */
17 protected $data;
18
19 /**
20 * @param mixed $data
21 */
22 public function __construct($data)
23 {
24 $this->data = $data;
25 }
26
27 /**
28 * {@inheritDoc}
29 */
30 public function getData()
31 {
32 return $this->data;
33 }
34 }