for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Uxmp\Core\Orm\Model;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Uxmp\Core\Orm\Repository\RadioStationRepository;
#[ORM\Entity(repositoryClass: RadioStationRepository::class)]
#[ORM\Table(name: 'radiostation')]
class RadioStation implements RadioStationInterface
{
#[ORM\Column(type: Types::INTEGER)]
#[ORM\Id, ORM\GeneratedValue(strategy: 'AUTO')]
private int $id;
#[ORM\Column(type: Types::STRING)]
private string $name = '';
private string $url = '';
public function getId(): int
return $this->id;
}
public function getName(): string
return $this->name;
public function setName(string $name): static
$this->name = $name;
return $this;
public function getUrl(): string
return $this->url;
public function setUrl(string $url): static
$this->url = $url;