23 lines
365 B
PHP
23 lines
365 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\Seo;
|
|
|
|
final class SeoData
|
|
{
|
|
/**
|
|
* @param array<string, mixed> $attributes
|
|
*/
|
|
public function __construct(private readonly array $attributes)
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function toArray(): array
|
|
{
|
|
return $this->attributes;
|
|
}
|
|
} |