Security patch for generating feedback url (for internal and external api calling)

This commit is contained in:
Dillon
2023-09-30 17:06:36 +08:00
parent 2240c1723d
commit 3f1a8a6d12
125 changed files with 254 additions and 206 deletions
@@ -0,0 +1,31 @@
<?php
namespace App\Classes\Modules\HelpMenu\DataTransferObjects;
use App\Classes\General\Interfaces\DataTransferObject;
class GenerateFeedbackUrlObject implements DataTransferObject
{
/** @var string */
private $apiKey;
/**
* GenerateFeedbackUrlObject constructor.
* @param string $apiKey
*/
public function __construct(string $apiKey = "")
{
$this->apiKey = $apiKey;
}
/**
* @return string
*/
public function getApiKey(): string
{
return $this->apiKey;
}
}