for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Response;
use JMS\Serializer\Annotation as Serializer;
trait UuidTrait {
#[Serializer\SerializedName('uuid')]
#[Serializer\Type('string')]
#[Serializer\ReadOnlyProperty]
private readonly string $uuid;
public function getUuid(): string {
return $this->uuid;
}