/** * Alias of WURFL_Handlers_Matcher_RISMatcher::match() * @param array $collection * @param string $needle * @param int $tolerance * @return string Matched user agent * @see WURFL_Handlers_Matcher_RISMatcher::match() */ public static function risMatch($collection, $needle, $tolerance) { return WURFL_Handlers_Matcher_RISMatcher::INSTANCE()->match($collection, $needle, $tolerance); }
protected function setUp() { $this->risMatcher = WURFL_Handlers_Matcher_RISMatcher::INSTANCE(); }