Update Page::toArray()

This commit is contained in:
Giuseppe Criscione 2019-03-15 19:05:53 +01:00
parent 079afd69a4
commit ed331dc46e

View File

@ -371,8 +371,10 @@ class Page extends AbstractPage
public function toArray()
{
return array(
'title' => $this->title(),
'route' => $this->route(),
'uri' => $this->uri(),
'id' => $this->id(),
'slug' => $this->slug(),
'template' => $this->template()->name(),
'num' => $this->num(),
'data' => $this->data()