| Total Complexity | 9 |
| Total Lines | 73 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | #[ORM\Entity(repositoryClass: AccessUrlRelPluginRepository::class)] |
||
| 13 | class AccessUrlRelPlugin |
||
| 14 | { |
||
| 15 | #[ORM\Id] |
||
| 16 | #[ORM\GeneratedValue] |
||
| 17 | #[ORM\Column] |
||
| 18 | private ?int $id = null; |
||
| 19 | |||
| 20 | #[ORM\ManyToOne(inversedBy: 'accessUrlRelPlugins')] |
||
| 21 | #[ORM\JoinColumn(nullable: false)] |
||
| 22 | private ?Plugin $plugin = null; |
||
| 23 | |||
| 24 | #[ORM\ManyToOne(inversedBy: 'plugins')] |
||
| 25 | #[ORM\JoinColumn(nullable: false)] |
||
| 26 | private ?AccessUrl $url = null; |
||
| 27 | |||
| 28 | #[ORM\Column] |
||
| 29 | private ?bool $active = null; |
||
| 30 | |||
| 31 | #[ORM\Column(nullable: true)] |
||
| 32 | private ?array $configuration = null; |
||
| 33 | |||
| 34 | public function getId(): ?int |
||
| 35 | { |
||
| 36 | return $this->id; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getPlugin(): ?Plugin |
||
| 40 | { |
||
| 41 | return $this->plugin; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function setPlugin(?Plugin $plugin): static |
||
| 45 | { |
||
| 46 | $this->plugin = $plugin; |
||
| 47 | |||
| 48 | return $this; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function getUrl(): ?AccessUrl |
||
| 52 | { |
||
| 53 | return $this->url; |
||
| 54 | } |
||
| 55 | |||
| 56 | public function setUrl(?AccessUrl $url): static |
||
| 57 | { |
||
| 58 | $this->url = $url; |
||
| 59 | |||
| 60 | return $this; |
||
| 61 | } |
||
| 62 | |||
| 63 | public function isActive(): ?bool |
||
| 64 | { |
||
| 65 | return $this->active; |
||
| 66 | } |
||
| 67 | |||
| 68 | public function setActive(bool $active): static |
||
| 73 | } |
||
| 74 | |||
| 75 | public function getConfiguration(): ?array |
||
| 76 | { |
||
| 77 | return $this->configuration; |
||
| 78 | } |
||
| 79 | |||
| 80 | public function setConfiguration(?array $configuration): static |
||
| 85 | } |
||
| 86 | } |
||
| 87 |