Definition at line 21 of file Parser.php.
◆ __construct()
__construct |
( |
LoggerInterface |
$logger, |
|
|
IPInterface |
$ipHelper |
|
) |
| |
- Parameters
-
LoggerInterface | $logger | |
| IPInterface | |
Definition at line 97 of file Parser.php.
◆ account()
◆ clearCache()
Clear LRU cache
- Returns
- bool
Definition at line 631 of file Parser.php.
◆ getCache()
◆ parse()
◆ setAccessKey()
setAccessKey |
( |
|
$access_key | ) |
|
◆ setCache()
setCache |
( |
|
$key, |
|
|
|
$value |
|
) |
| |
|
protected |
◆ setCacheEnable()
Set LRU cache enable/disable
- Parameters
-
- Returns
- bool
Definition at line 606 of file Parser.php.
◆ setCacheSize()
Set LRU cache enable/disable
- Parameters
-
- Returns
- bool
Definition at line 620 of file Parser.php.
◆ setDataFile()
◆ setDBdat()
◆ setIP()
◆ setUA()
◆ $access_key
Personal access key
@type string
Definition at line 50 of file Parser.php.
◆ $api_url
$api_url = 'http://api.udger.com/v3' |
|
protected |
Api URL
@type string
Definition at line 36 of file Parser.php.
◆ $cache
◆ $cacheEnable
@boolean LRU cache enable/disable
Definition at line 81 of file Parser.php.
◆ $cacheSize
@int LRU cache size
Definition at line 91 of file Parser.php.
◆ $dbdat
DB link
@type object
Definition at line 71 of file Parser.php.
◆ $ip
IP address for parse
@type string
Definition at line 57 of file Parser.php.
◆ $ipHelper
◆ $path
Path to the data file
@type string
Definition at line 43 of file Parser.php.
◆ $timeout
Default timeout for network requests
@type integer
Definition at line 29 of file Parser.php.
◆ $ua
Useragent string for parse
@type string
Definition at line 64 of file Parser.php.