/** * Finds the device id for the given request - if it is not found it * delegates to the next available handler * * @param WURFL_Request_GenericRequest $request * @return string WURFL Device ID for matching device */ public function match(WURFL_Request_GenericRequest $request) { if ($this->canHandle($request->userAgentNormalized)) { return $this->applyMatch($request); } if (isset($this->nextHandler)) { return $this->nextHandler->match($request); } return WURFL_Constants::GENERIC; }