Akeneo\Component\SpreadsheetParser\SpreadsheetLoader::getType PHP Méthode

getType() protected méthode

Returns the type for a path
protected getType ( string $path ) : string
$path string
Résultat string
    protected function getType($path)
    {
        return strtolower(pathinfo($path, PATHINFO_EXTENSION));
    }