Skip to content

Commit

Permalink
Update AllowedFilter.php to include getFilterClass
Browse files Browse the repository at this point in the history
requires if you need to rebuild the filter on the fly
  • Loading branch information
justasSendrauskas authored Nov 15, 2023
1 parent fab8152 commit c5b21ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/AllowedFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ public static function custom(string $name, Filter $filterClass, $internalName =
return new static($name, $filterClass, $internalName);
}

public function getFilterClass(): string
{
return $this->filterClass;
}

public function getName(): string
{
return $this->name;
Expand Down

0 comments on commit c5b21ca

Please sign in to comment.