for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace VasilDakov\Econt\Model;
use JMS\Serializer\Annotation as Serializer;
readonly class Country
{
public function __construct(
#[Serializer\Type('int')]
public ?int $id,
#[Serializer\Type('string')]
public ?string $code2,
public ?string $code3,
public ?string $name,
public ?string $nameEn,
#[Serializer\Type('bool')]
public ?bool $isEU
) {
}