1 | <?php |
||
5 | class FileFilters extends Filters |
||
6 | { |
||
7 | /** |
||
8 | * Registered filters to operate upon. |
||
9 | * |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $filters = ['owner_type', 'owner_id']; |
||
13 | |||
14 | /** |
||
15 | * @param string $ownerType |
||
16 | * @return mixed |
||
17 | */ |
||
18 | protected function owner_type(string $ownerType) |
||
22 | |||
23 | /** |
||
24 | * @param int $ownerId |
||
25 | * @return mixed |
||
26 | */ |
||
27 | protected function owner_id(int $ownerId) |
||
31 | } |
||
32 |