Skip to content

Commit

Permalink
Merge pull request #489 from tn3rb/add-getter-for-user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
JayBizzle authored Feb 2, 2023
2 parents 2c555ce + e72bf43 commit cbebd62
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/CrawlerDetect.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,13 @@ public function getMatches()
{
return isset($this->matches[0]) ? $this->matches[0] : null;
}


/**
* @return string|null
*/
public function getUserAgent()
{
return $this->userAgent;
}
}

0 comments on commit cbebd62

Please sign in to comment.