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

        foreach ($libraries as $library) {
            $hydrated[] = self::hydrate($library);
        }

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

        foreach ($libraries as $library) {
            $hydrated[] = self::hydrate($library);
        }

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

@param stdClass[] $libraries
@return LibraryEntity[]
Hydrate a collection of library objects into a collection of LibraryEntity objects