Exemple #1
0
 function __toString()
 {
     try {
         $base = $this->base;
         $body_appends = self::$body_appends;
         $layout = $this->body->getContent();
         $body_attributes = $this->body->getAttributes(true);
         $html_attributes = $this->html->getAttributes(true);
         $meta_tags = Event::filter('lk-page::meta-tags', []);
         return \View::make('lk-page::page', compact('base', 'body_attributes', 'body_appends', 'html_attributes', 'layout', 'meta_tags'))->render();
     } catch (\Exception $e) {
         return $e->getMessage();
     }
 }
Exemple #2
0
 /**
  * @param $value
  * @return map
  */
 function setId($value)
 {
     return parent::setId($value);
 }