public static function hydrateCollection(array $reviews)
    {
        $hydrated = [];

        foreach ($reviews as $review) {
            $hydrated[] = self::hydrate($review);
        }

        return $hydrated;
    }
public static function hydrateCollection(array $reviews)
    {
        $hydrated = [];

        foreach ($reviews as $review) {
            $hydrated[] = self::hydrate($review);
        }

        return $hydrated;
    }
public static function hydrateCollection ( array $ reviews ) { $ hydrated = [ ] ; foreach ( $ reviews as $ review ) { $ hydrated [ ] = self :: hydrate ( $ review ) ; } return $ hydrated ; }
Hydrate a collection of review objects into a collection of
ReviewEntity objects

@param stdClass[] $reviews
@return ReviewEntity[]
Hydrate a collection of review objects into a collection of ReviewEntity objects