You've already forked symfony-playground
platform dupped
This commit is contained in:
@ -27,9 +27,6 @@ abstract class MerService
|
||||
#[ORM\Column(type: 'json', nullable: true)]
|
||||
private $metadata = [];
|
||||
|
||||
#[ORM\OneToOne(targetEntity: Platform::class, cascade: ['persist'], mappedBy: 'ott')]
|
||||
private Platform $platform;
|
||||
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
@ -58,16 +55,4 @@ abstract class MerService
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getPlatform(): ?Platform
|
||||
{
|
||||
return $this->platform;
|
||||
}
|
||||
|
||||
public function setPlatform(?Platform $platform): self
|
||||
{
|
||||
$this->platform = $platform;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user