Method | Description | |
---|---|---|
__construct ( Psr\Log\LoggerInterface $logger, BrowscapPHP\Cache\BrowscapCacheInterface $cache ) | class constructor | |
convertFile ( string $iniFile ) | ||
convertString ( string $iniString ) | ||
getFilesystem ( ) : |
Returns a filesystem instance | |
getIniVersion ( string $iniString ) : integer | Parses the ini data to get the version of loaded ini file | |
setFilesystem ( |
Sets a filesystem instance | |
setVersion ( integer $version ) : |
sets the version | |
storeVersion ( ) : |
stores the version of the ini file into cache |
Method | Description | |
---|---|---|
getIniReleaseDate ( string $iniString ) : string | null | Parses the ini data to get the releaseDate of loaded ini file | |
getIniType ( string $iniString ) : string | null | Parses the ini data to get the releaseDate of loaded ini file |
public __construct ( Psr\Log\LoggerInterface $logger, BrowscapPHP\Cache\BrowscapCacheInterface $cache ) | ||
$logger | Psr\Log\LoggerInterface | |
$cache | BrowscapPHP\Cache\BrowscapCacheInterface |
public getFilesystem ( ) : |
||
return |
public getIniVersion ( string $iniString ) : integer | ||
$iniString | string | The loaded ini data |
return | integer |
public setFilesystem ( |
||
$file | ||
return |
public setVersion ( integer $version ) : |
||
$version | integer | |
return |
public storeVersion ( ) : |
||
return |