<?php
/**
 * CGBetterUploads API
 *
 * @package CGBetterUploads
 */

namespace CGBetterUploads;
use Iterator;
use Countable;

/**
 * This is a placeholder type that defines a set of uploads.
 * Created from a filter object, and an array... this is an iterable list of objects.
 * and supports pagination.
 */
class UploadSet extends FilterResultset
{
    /**
     * Construct an UploadSet
     *
     * @param UploadFilter $filter The filter used to create the array of matches.  For use in pagination.
     * @param int $totalMatches the total number of uploads that match the filter.
     * @param array $matches The matches loaded from the database.   May be <= $totalMatches
     */
    public function __construct( UploadFilter $filter, int $totalMatches, array $matches = null)
    {
        parent::__construct( $filter, $totalMatches, $matches );
    }

} // class
