Exemplo n.º 1
0
 /** 
  * 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);
 }
Exemplo n.º 2
0
 protected function setUp()
 {
     $this->risMatcher = WURFL_Handlers_Matcher_RISMatcher::INSTANCE();
 }