mirror of
https://github.com/doctrine/doctrine-website.git
synced 2026-03-23 22:32:11 +01:00
23 lines
355 B
PHP
23 lines
355 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Doctrine\Website\Model;
|
|
|
|
final class EventLocation
|
|
{
|
|
public function __construct(private string $name, private Address $address)
|
|
{
|
|
}
|
|
|
|
public function getName(): string
|
|
{
|
|
return $this->name;
|
|
}
|
|
|
|
public function getAddress(): Address
|
|
{
|
|
return $this->address;
|
|
}
|
|
}
|