HEX
Server: Apache
System: Linux hz.vslconceptsdomains.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: dkfounda (3233)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/local/mailchannels/models/Limit.php
<?php
namespace MailChannels;

class Limit implements \JsonSerializable {
    const PROTECTED_DOMAINS_FEATURE_HANDLE = 'protected-domains';

    private $value;
    private $featureHandle;

    public function __construct($value, $featureHandle) {
        $this->value = $value;
        $this->featureHandle = $featureHandle;
    }

    function getValue() {
        return $this->value;
    }

    function getFeatureHandle() {
        return $this->featureHandle;
    }

    function jsonSerialize() {
        return [
            'value'=> $this->value,
            'featureHandle' => $this->featureHandle
        ];
    }
}