<?php

/**
 * CGBetterUploads API
 *
 * @package CGBetterUploads
 * @category Module
 * @author  calguy1000 <calguy1000@cmsmadesimple.org>
 * @copyright Copyright 2019 by Robert Campbell
 */

namespace CGBetterUploads;
use Iterator;
use Countable;

/**
 * A class to repreent a selction of DisplayableUpload objects
 */
class DisplayableSet extends FilterResultset
{
    /**
     * Construct a DisplayableSet
     *
     * @param UploadFilter $filter The filter used to create the array of matches.  For use in pagination
     * @param int $totalMatches the total numberof uplaods 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
