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

        foreach ($comments as $comment) {
            $hydrated[] = self::hydrate($comment);
        }

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

        foreach ($comments as $comment) {
            $hydrated[] = self::hydrate($comment);
        }

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

@param stdClass[] $comments
@return CommentEntity[]
Hydrate a collection of comment objects into a collection of CommentEntity objects