Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
task
/
212
/
root
/
proc
/
self
/
root
/
proc
/
212
/
root
/
proc
/
70528
/
cwd
/
src
/
Entity
/
//proc/212/task/212/root/proc/self/root/proc/212/root/proc/70528/cwd/src/Entity/FeaturedProduct.php
<?php namespace App\Entity; use App\Repository\FeaturedProductRepository; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=FeaturedProductRepository::class) */ class FeaturedProduct { /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\OneToOne(targetEntity=Product::class, cascade={"persist"}) * @ORM\JoinColumn(nullable=false) */ private $product; public function getId(): ?int { return $this->id; } public function getProduct(): ?Product { return $this->product; } public function setProduct(Product $product): self { $this->product = $product; return $this; } }