public function detect($number)
    {
        foreach (self::$cardPatterns as $name => $pattern) {
            if (preg_match($pattern, $number)) {
                return $name;
            }
        }

        return false;
    }