Path: blob/1.0-develop/app/Services/Activity/ActivityLogTargetableService.php
10266 views
<?php12namespace Pterodactyl\Services\Activity;34use Illuminate\Database\Eloquent\Model;56class ActivityLogTargetableService7{8protected ?Model $actor = null;910protected ?Model $subject = null;1112protected ?int $apiKeyId = null;1314public function setActor(Model $actor): void15{16$this->actor = $actor;17}1819public function setSubject(Model $subject): void20{21$this->subject = $subject;22}2324public function setApiKeyId(?int $apiKeyId): void25{26$this->apiKeyId = $apiKeyId;27}2829public function actor(): ?Model30{31return $this->actor;32}3334public function subject(): ?Model35{36return $this->subject;37}3839public function apiKeyId(): ?int40{41return $this->apiKeyId;42}4344public function reset(): void45{46$this->actor = null;47$this->subject = null;48$this->apiKeyId = null;49}50}515253