src/Entity/Translation/CollectionTranslation.php line 12
<?phpnamespace App\Entity\Translation;use App\Entity\Collection;use Gedmo\Translatable\Entity\MappedSuperclass\AbstractPersonalTranslation;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity]#[ORM\Table(name: 'collection_translation')]#[ORM\UniqueConstraint(name: "collection_translation_idx", columns: ['locale','object_id','field'])]class CollectionTranslation extends AbstractPersonalTranslation{#[ORM\ManyToOne(targetEntity: Collection::class, inversedBy: 'translations')]#[ORM\JoinColumn(name: "object_id", onDelete: 'cascade')]protected $object;public function getObject(): ?\Doctrine\Common\Collections\Collection{return $this->object;}public function setObject( $object): self{$this->object = $object;return $this;}}