for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Modules\Security\Api\Query\Response;
use Symfony\Component\Uid\Ulid;
class FindUserPostHeadersQueryResponse
{
/**
* @param Ulid $id
* @param string $title
* @param string $summary
* @param array $tags
* @param Ulid $createdById
* @param string $createdByName
* @param \DateTime $createdAt
* @param int $version
*/
public function __construct(private Ulid $id,
private string $title,
private string $summary,
private array $tags,
private Ulid $createdById,
private string $createdByName,
private \DateTime $createdAt,
private int $version)
}
* @return Ulid
public function getId(): Ulid
return $this->id;
* @return string
public function getTitle(): string
return $this->title;
public function getSummary(): string
return $this->summary;
* @return array
public function getTags(): array
return $this->tags;
* @return \DateTime
public function getCreatedAt(): \DateTime
return $this->createdAt;
* @return int
public function getVersion(): int
return $this->version;
public function getCreatedById(): Ulid
return $this->createdById;
public function getCreatedByName(): string
return $this->createdByName;