| 1 | <?php |
||
| 21 | final class SourceFilterUtil |
||
| 22 | { |
||
| 23 | use FilterUtilHelper; |
||
| 24 | |||
| 25 | private function __construct() { /* noop */ } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Check if rate matches filters. |
||
| 29 | * |
||
| 30 | * @param SourceInterface $source Rate to filter. |
||
| 31 | * @param array $criteria Filter criteria. |
||
| 32 | * @return bool TRUE if filter criteria is matched. |
||
| 33 | */ |
||
| 34 | 2 | public static function matches(SourceInterface $source, array $criteria) |
|
| 40 | } |
||
| 41 |