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

        foreach ($sinks as $sink) {
            $hydrated[] = self::hydrate($sink);
        }

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

        foreach ($sinks as $sink) {
            $hydrated[] = self::hydrate($sink);
        }

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

@param stdClass[] $sinks
@return SinkEntity[]
Hydrate a collection of sink objects into a collection of SinkEntity objects