mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-07 16:55:35 +08:00
31 lines
514 B
PHP
31 lines
514 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace ZM\Exception\Solution;
|
|
|
|
class Solution
|
|
{
|
|
public function __construct(
|
|
private string $title,
|
|
private string $description,
|
|
private array $links,
|
|
) {
|
|
}
|
|
|
|
public function getSolutionTitle(): string
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
public function getSolutionDescription(): string
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
public function getDocumentationLinks(): array
|
|
{
|
|
return $this->links;
|
|
}
|
|
}
|