for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Chamilo\CoreBundle\Entity;
use Chamilo\CoreBundle\Repository\XApiLrsAuthRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Timestampable\Traits\TimestampableEntity;
#[ORM\Entity(repositoryClass: XApiLrsAuthRepository::class)]
class XApiLrsAuth
{
use TimestampableEntity;
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $username = null;
private ?string $password = null;
private ?bool $enabled = null;
public function getId(): ?int
return $this->id;
}
public function getUsername(): ?string
return $this->username;
public function setUsername(string $username): static
$this->username = $username;
return $this;
public function getPassword(): ?string
return $this->password;
public function setPassword(string $password): static
$this->password = $password;
public function isEnabled(): ?bool
return $this->enabled;
public function setEnabled(bool $enabled): static
$this->enabled = $enabled;