protected function setUp() { $this->risMatcher = RISMatcher::getInstance(); }
/** * 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 Matcher\RISMatcher::getInstance()->match($collection, $needle, $tolerance); }