23 lines
325 B
PHP
23 lines
325 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Application\Models;
|
|
|
|
use JMS\Serializer\Annotation\SerializedName;
|
|
use JMS\Serializer\Annotation\Type;
|
|
|
|
class Site
|
|
{
|
|
use Meta;
|
|
|
|
#[SerializedName('title')]
|
|
#[Type('string')]
|
|
private ?string $title;
|
|
|
|
public function getSiteTitle(): string
|
|
{
|
|
return $this->title;
|
|
}
|
|
}
|