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

        foreach ($files as $file) {
            $hydrated[] = self::hydrate($file);
        }

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

        foreach ($files as $file) {
            $hydrated[] = self::hydrate($file);
        }

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

@param stdClass[] $files
@return FileEntity[]
Hydrate a collection of file objects into a collection of FileEntity objects