mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-25 08:54:45 +02:00
28 lines
502 B
PHP
28 lines
502 B
PHP
<?php
|
|
|
|
namespace App\Extensions\OAuth\Schemas;
|
|
|
|
final class CommonSchema extends OAuthSchema
|
|
{
|
|
public function __construct(
|
|
private readonly string $id,
|
|
private readonly ?string $icon,
|
|
private readonly ?string $hexColor
|
|
) {}
|
|
|
|
public function getId(): string
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function getIcon(): ?string
|
|
{
|
|
return $this->icon;
|
|
}
|
|
|
|
public function getHexColor(): ?string
|
|
{
|
|
return $this->hexColor;
|
|
}
|
|
}
|