HEX
Server: Apache
System: Linux linplesk41.pumo.com.tw 3.10.0-962.3.2.lve1.5.27.el7.x86_64 #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64
User: rajlaw (10192)
PHP: 7.4.24
Disabled: phpinfo,passthru,exec,shell_exec,system,popen,proc_open,proc_close,show_source,pcntl_exec,escapeshellcmd,proc_get_status,proc_nice,proc_terminate,escapeshellarg
Upload Files
File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/plugins/wp-rss-aggregator/core/src/Tier.php
<?php

namespace RebelCode\Aggregator\Core;

abstract class Tier {

	public const Free = 0;
	public const Basic = 10;
	public const Plus = 20;
	public const Pro = 30;
	public const Elite = 40;

	public static function getName( int $tier ): string {
		switch ( $tier ) {
			case self::Free:
				return __( 'Free', 'wp-rss-aggregator' );
			case self::Basic:
				return __( 'Basic', 'wp-rss-aggregator' );
			case self::Plus:
				return __( 'Plus', 'wp-rss-aggregator' );
			case self::Pro:
				return __( 'Pro', 'wp-rss-aggregator' );
			case self::Elite:
				return __( 'Elite', 'wp-rss-aggregator' );
			default:
				return __( 'Unknown', 'wp-rss-aggregator' );
		}
	}
}