Zend\Http\Cookies::_flattenCookiesArray
Helper function to recursively flatten an array. Should be used when exporting the cookies array (or parts of it)
Signature
protected function _flattenCookiesArray(SetCookie|array
$ptr,
[int
$retAs = self::COOKIE_OBJECT] )
Parameters
$ptr
— object
$retAs
— int- What value to return
Returns
- array|string