MageScan\Check\Patch\MageReport::getPatchName PHP Méthode

getPatchName() protected méthode

Get patch name from path
protected getPatchName ( string $path ) : string
$path string
Résultat string
    protected function getPatchName($path)
    {
        $bits = explode('?', $path);
        return str_replace('scan/result/supee', 'SUPEE-', $bits[0]);
    }