for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace MovingImage\Client\VMPro\Entity;
use JMS\Serializer\Annotation\Type;
class Player
{
/** @Type("string") */
private $id;
private $name;
/** @Type("boolean") */
private $active = false;
public function getId(): ?string
return $this->id;
}
public function setId(string $id): self
$this->id = $id;
return $this;
public function getName(): ?string
return $this->name;
public function setName(?string $name): self
$this->name = $name;
public function isActive(): bool
return $this->active;
public function setActive(bool $active): self
$this->active = $active;