public static function capitalize($value)
    {
        static $capitalizeCache;

        $key = $value;

        if (isset($capitalizeCache[$key])) {
            return $capitalizeCache[$key];
        }

        return $capitalizeCache[$key] = ucwords(strtolower($value));
    }