1 | <?php |
||
16 | class Factory |
||
17 | { |
||
18 | /** |
||
19 | * @param string $filter |
||
20 | * @param mixed $option |
||
21 | * @return TokenFilterInterface |
||
22 | * @throws \InvalidArgumentException |
||
23 | */ |
||
24 | 2 | public static function getFilter($filter, $option) |
|
30 | |||
31 | /** |
||
32 | * @param string $filter |
||
33 | * @param array $supportedFilters |
||
34 | * @throws \InvalidArgumentException |
||
35 | */ |
||
36 | 2 | private static function supportedException($filter, array $supportedFilters) |
|
44 | |||
45 | /** |
||
46 | * @return array |
||
47 | */ |
||
48 | 2 | private static function getSupportedFilters() |
|
57 | } |
||
58 |