EquipmentControl::class, 'place' => PlaceControl::class, 'room' => RoomControl::class, ] )] abstract class AbstractControl { #[ORM\Id] #[ORM\Column] #[ORM\GeneratedValue] protected ?int $id = null; #[ORM\ManyToOne(inversedBy: 'accompanistControl')] #[ORM\JoinColumn(nullable: true)] protected ?Access $accompanist = null; public function getId(): ?int { return $this->id; } }