Cache\Adapter\PHPArray\ArrayCachePool::__construct PHP Method

__construct() public method

public __construct ( integer $limit = null, array &$cache = [] )
$limit integer the amount if items stored in the cache. Using a limit will reduce memory leaks.
$cache array
    public function __construct($limit = null, array &$cache = [])
    {
        $this->cache =& $cache;
        $this->limit = $limit;
    }