public function getRules()
{
if ($this->detectionType == static::DETECTION_TYPE_EXTENDED) {
return static::getDetectionRulesExtended();
} else {
return static::getMobileDetectionRules();
}
}
/** * Retrieve the current set of rules. * * @return array * @static */ public static function getRules() { return \Jenssegers\Agent\Agent::getRules(); }