OpenSkill\Datatable\Data\ResponseData::__construct PHP Метод

__construct() публичный Метод

ResponseData constructor.
public __construct ( Collection $data, integer $totalDataCount, integer $dataCount = null )
$data Illuminate\Support\Collection the items that are returned from the provider
$totalDataCount integer the count of the total items that the provider started with
$dataCount integer the count of the total items that have been sorted out in search
    public function __construct(Collection $data, $totalDataCount, $dataCount = null)
    {
        $this->data = $data;
        $this->dataCount = $dataCount;
        $this->totalDataCount = $totalDataCount;
    }