Akeneo\Component\SpreadsheetParser\SpreadsheetLoader::getType PHP Method

getType() protected method

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