src/Entity/ViewCounter.php line 10
<?phpnamespace App\Entity;use App\Repository\ViewCounterRepository;use Doctrine\ORM\Mapping as ORM;use Tchoulom\ViewCounterBundle\Entity\ViewCounter as BaseViewCounter;#[ORM\Entity(repositoryClass: ViewCounterRepository::class)]class ViewCounter extends BaseViewCounter{#[ORM\ManyToOne(inversedBy: 'viewCounters')]private ?Article $article = null;public function getArticle(): ?Article{return $this->article;}public function setArticle(?Article $article): static{$this->article = $article;return $this;}}