lcly-data-admin/app/ModelFilters/RiceShrimpIndustryFilter.php

19 lines
313 B
PHP

<?php
namespace App\ModelFilters;
use EloquentFilter\ModelFilter;
class RiceShrimpIndustryFilter extends ModelFilter
{
public function year($year)
{
return $this->where('year', $year);
}
public function quarter($quarter)
{
return $this->where('quarter', $quarter);
}
}