Model/VisitableManager.php
public function update(VisitableInterface $visitable)
    {
        $visitable->onNewViewed();

        $this->entityManager->persist($visitable);
        $this->entityManager->flush();
    }
public function update(VisitableInterface $visitable)
    {
        $visitable->onNewViewed();

        $this->entityManager->persist($visitable);
        $this->entityManager->flush();
    }
{@inheritdoc}