BrowscapPHP\Helper\Converter::getIniType PHP Méthode

getIniType() private méthode

Parses the ini data to get the releaseDate of loaded ini file
private getIniType ( string $iniString ) : string | null
$iniString string The loaded ini data
Résultat string | null
    private function getIniType($iniString)
    {
        if (preg_match('/Type=(.*)/', $iniString, $matches)) {
            if (isset($matches[1])) {
                return $matches[1];
            }
        }
        return null;
    }