If it's a flat data structure, `array_merge` is fine; if it's hierarchical
at all, you should likely use `ArrayUtils::merge`.


On Wed, May 8, 2013 at 2:14 PM, Marco Pivetta <notifications@github.com>wrote:

> In library/Zend/Stdlib/Hydrator/Aggregate/ExtractEvent.php:
>
> > +        $this->extractionObject = $extractionObject;
> > +    }
> > +
> > +    public function getExtractedData()
> > +    {
> > +        return $this->extractedData;
> > +    }
> > +
> > +    public function setExtractedData(array $extractedData)
> > +    {
> > +        $this->extractedData = $extractedData;
> > +    }
> > +
> > +    public function mergeExtractedData(array $additionalData)
> > +    {
> > +        $this->extractedData = ArrayUtils::merge($this->extractedData, $additionalData);
>
> @bakura10 <https://github.com/bakura10> suggests array_merge here.
> @DASPRiD <https://github.com/DASPRiD> ping?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zendframework/zf2/pull/4448/files#r4141326>
> .
>



-- 
Matthew Weier O'Phinney
matthew@weierophinney.net
http://mwop.net/