File "class-fs-plugin-tag.php"

Full Path: /home/vantageo/public_html/cache/cache/cache/cache/cache/cache/.wp-cli/wp-content/plugins/mass-pagesposts-creator/freemius/includes/entities/class-fs-plugin-tag.php
File size: 1.29 KB
MIME-type: text/x-php
Charset: utf-8

<?php
	/**
	 * @package     Freemius
	 * @copyright   Copyright (c) 2018, Freemius, Inc.
	 * @license     https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
	 * @since       2.0.0
	 */

	if ( ! defined( 'ABSPATH' ) ) {
		exit;
	}

	class FS_Plugin_Tag extends FS_Entity {
        /**
         * @var string
         */
		public $version;
        /**
         * @var string
         */
		public $url;
        /**
         * @var string
         */
        public $requires_platform_version;
        /**
         * @var string
         */
        public $requires_programming_language_version;
        /**
         * @var string
         */
        public $tested_up_to_version;
        /**
         * @var bool
         */
        public $has_free;
        /**
         * @var bool
         */
        public $has_premium;
        /**
         * @var string One of the following: `pending`, `beta`, `unreleased`.
         */
        public $release_mode;

		function __construct( $tag = false ) {
			parent::__construct( $tag );
		}

		static function get_type() {
			return 'tag';
		}

        /**
         * @author Leo Fajardo (@leorw)
         * @since 2.3.0
         *
         * @return bool
         */
		function is_beta() {
		    return ( 'beta' === $this->release_mode );
        }
	}