mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-12 03:05:34 +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;
|
||
|
|
}
|
||
|
|
}
|