Beispiel #1
0
 /**
  * Returns object attached to route
  *
  * @return null
  */
 public function getContent()
 {
     if (!empty($this->content)) {
         return $this->content;
     }
     if (!empty($this->contentCode)) {
         $this->content = $this->resolver->getContent($this);
         return $this->content;
     }
     return null;
 }