public static function getOctets($option)
    {
        if (preg_match('/\d+k/i', $option)) {
            return 1024 * (int)$option;
        }

        if (preg_match('/\d+m/i', $option)) {
            return 1024 * 1024 * (int)$option;
        }

        if (preg_match('/\d+g/i', $option)) {
            return 1024 * 1024 * 1024 * (int)$option;
        }

        return $option;
    }