mirror of
https://github.com/doctrine/doctrine-website.git
synced 2026-03-23 22:32:11 +01:00
27 lines
433 B
PHP
27 lines
433 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Doctrine\Website\DataBuilder;
|
|
|
|
final readonly class WebsiteData
|
|
{
|
|
/** @param mixed[] $data */
|
|
public function __construct(
|
|
private string $name,
|
|
private array $data,
|
|
) {
|
|
}
|
|
|
|
public function getName(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
/** @return mixed[] */
|
|
public function getData(): array
|
|
{
|
|
return $this->data;
|
|
}
|
|
}
|