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/Plan.php
<?php

namespace MailChannels;

class Plan implements \JsonSerializable {
    private $handle;
    private $name;

    public function __construct($handle, $name) {
        $this->handle = $handle;
        $this->name = $name;
    }

    public function getHandle() {
        return $this->handle;
    }

    public function getName() {
        return $this->name;
    }

    public function jsonSerialize() {
        return [
            'handle' => $this->handle,
            'name' => $this->name
        ];
    }
}