Skip to content

Commit

Permalink
add options method back
Browse files Browse the repository at this point in the history
  • Loading branch information
max-yilang committed Dec 6, 2019
1 parent d8a11ca commit b635828
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/SliderFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ public function apply(Request $request, $query, $value)
return $query;
}

/**
* Get the filter's available options.
*
* @param Request $request
*
* @return array
*/
public function options(Request $request)
{
return [];
}

public function minValue(int $min): self
{
return $this->withMeta([ 'min' => $min ]);
Expand Down

0 comments on commit b635828

Please sign in to comment.