update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
14
vendor/zendframework/zend-stdlib/src/ArrayUtils/MergeRemoveKey.php
vendored
Normal file
14
vendor/zendframework/zend-stdlib/src/ArrayUtils/MergeRemoveKey.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework (http://framework.zend.com/)
|
||||
*
|
||||
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
||||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
namespace Zend\Stdlib\ArrayUtils;
|
||||
|
||||
final class MergeRemoveKey
|
||||
{
|
||||
}
|
34
vendor/zendframework/zend-stdlib/src/ArrayUtils/MergeReplaceKey.php
vendored
Normal file
34
vendor/zendframework/zend-stdlib/src/ArrayUtils/MergeReplaceKey.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework (http://framework.zend.com/)
|
||||
*
|
||||
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
||||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
namespace Zend\Stdlib\ArrayUtils;
|
||||
|
||||
final class MergeReplaceKey implements MergeReplaceKeyInterface
|
||||
{
|
||||
/**
|
||||
* @var mixed
|
||||
*/
|
||||
protected $data;
|
||||
|
||||
/**
|
||||
* @param mixed $data
|
||||
*/
|
||||
public function __construct($data)
|
||||
{
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
}
|
21
vendor/zendframework/zend-stdlib/src/ArrayUtils/MergeReplaceKeyInterface.php
vendored
Normal file
21
vendor/zendframework/zend-stdlib/src/ArrayUtils/MergeReplaceKeyInterface.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework (http://framework.zend.com/)
|
||||
*
|
||||
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
||||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
namespace Zend\Stdlib\ArrayUtils;
|
||||
|
||||
/**
|
||||
* Marker interface: can be used to replace keys completely in {@see ArrayUtils::merge()} operations
|
||||
*/
|
||||
interface MergeReplaceKeyInterface
|
||||
{
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getData();
|
||||
}
|
Reference in New Issue
Block a user