Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
flexible-shipping-pro
/
vendor_prefixed
/
wpdesk
/
wp-persistence
/
src
/
Adapter
:
ReferenceArrayContainer.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace FSProVendor\WPDesk\Persistence\Adapter; /** * Container that uses array as a persistent memory. When the value in container is changed, the value in * given array is also changed using reference. * * @package WPDesk\Persistence */ final class ReferenceArrayContainer extends \FSProVendor\WPDesk\Persistence\Adapter\ArrayContainer { /** * @param array $referenced You have to pass this array. It can not be value. */ public function __construct(array &$referenced) { $this->array =& $referenced; } }