protected function processNestedArray($parentIdentifier, array $nestedArray, \Closure $handler = null)
    {
        $identifier = 'a' . Algorithms::generateRandomString(23);
        $data = [
            'multivalue' => true,
            'value' => $this->processArray($nestedArray, $parentIdentifier)
        ];
        if ($handler instanceof \Closure) {
            $handler($parentIdentifier, $identifier, $data);
        }
        return $identifier;
    }
protected function processNestedArray($parentIdentifier, array $nestedArray, \Closure $handler = null)
    {
        $identifier = 'a' . Algorithms::generateRandomString(23);
        $data = [
            'multivalue' => true,
            'value' => $this->processArray($nestedArray, $parentIdentifier)
        ];
        if ($handler instanceof \Closure) {
            $handler($parentIdentifier, $identifier, $data);
        }
        return $identifier;
    }
protected function processNestedArray ( $ parentIdentifier , array $ nestedArray , \ Closure $ handler = null ) { $ identifier = 'a' . Algorithms :: generateRandomString ( 23 ) ; $ data = [ 'multivalue' => true , 'value' => $ this -> processArray ( $ nestedArray , $ parentIdentifier ) ] ; if ( $ handler instanceof \ Closure ) { $ handler ( $ parentIdentifier , $ identifier , $ data ) ; } return $ identifier ; }
"Serializes" a nested array for storage.

@param string $parentIdentifier
@param array $nestedArray
@param \Closure $handler
@return string
Serializes a nested array for storage .