for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/* For licensing terms, see /license.txt */
declare(strict_types=1);
namespace Chamilo\CoreBundle\Entity;
use Chamilo\CoreBundle\Repository\AccessUrlRelPluginRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: AccessUrlRelPluginRepository::class)]
class AccessUrlRelPlugin
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\ManyToOne(inversedBy: 'accessUrlRelPlugins')]
#[ORM\JoinColumn(nullable: false)]
private ?Plugin $plugin = null;
#[ORM\ManyToOne(inversedBy: 'plugins')]
private ?AccessUrl $url = null;
private ?bool $active = null;
#[ORM\Column(nullable: true)]
private ?array $configuration = null;
public function getId(): ?int
return $this->id;
}
public function getPlugin(): ?Plugin
return $this->plugin;
public function setPlugin(?Plugin $plugin): static
$this->plugin = $plugin;
return $this;
public function getUrl(): ?AccessUrl
return $this->url;
public function setUrl(?AccessUrl $url): static
$this->url = $url;
public function isActive(): ?bool
return $this->active;
public function setActive(bool $active): static
$this->active = $active;
public function getConfiguration(): ?array
return $this->configuration;
public function setConfiguration(?array $configuration): static
$this->configuration = $configuration;