/**
  * @return \Sonata\PageBundle\Model\PageInterface|null
  */
 public function getTarget()
 {
     if ($this->target === null) {
         $content = json_decode($this->snapshot->getContent(), true);
         if (isset($content['target_id'])) {
             $target = $this->manager->getPageById($content['target_id']);
             if ($target) {
                 $this->setTarget($target);
             } else {
                 $this->target = false;
             }
         }
     }
     return $this->target ?: null;
 }