Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for SourceGuardian Encoder)
- *
- * @ Version : 5.0.0.0
- * @ Author : DeZender
- * @ Release on : 14.12.2021
- * @ Official site : http://DeZender.Net
- *
- */
- namespace Api\v1\License\DTO;
- final class LicenseDTO implements \Illuminate\Contracts\Support\Arrayable
- {
- use App\DTO\DTOTrait;
- private string $key = null;
- private bool $isActive;
- private string $keyType = null;
- private string $product = null;
- private int $expirationDate;
- private int $updateDate;
- private string $updateTicket = null;
- private int $cpuCores;
- private int $relevantCpuCores;
- public function __construct(string $key, string $keyType, string $product, int $expirationDate, int $updateDate, string $updateTicket, int $cpuCores, bool $isActive = false, int $relevantCpuCores = 0)
- {
- $this->key = $key;
- $this->isActive = $isActive;
- $this->keyType = $keyType;
- $this->product = $product;
- $this->expirationDate = $expirationDate;
- $this->updateDate = $updateDate;
- $this->updateTicket = $updateTicket;
- $this->cpuCores = $cpuCores;
- $this->relevantCpuCores = $relevantCpuCores;
- }
- public function getKey(): string
- {
- return $this->key;
- }
- public function isActive(): bool
- {
- return $this->isActive;
- }
- public function getKeyType(): string
- {
- return $this->keyType;
- }
- public function getProduct(): string
- {
- return $this->product;
- }
- public function getExpirationDate(): Carbon\CarbonInterface
- {
- return \Carbon\Carbon::parse($this->expirationDate);
- ..........................................................
- ................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement