dump() public method

public dump ( )
Exemplo n.º 1
0
 public function dump()
 {
     $dump = parent::dump();
     $dump['index'] = $this->getIndexPage() ? $this->getIndexPage()->getUrl() : '';
     $dump['first'] = $this->getFirstPage() ? $this->getFirstPage()->getUrl() : '';
     foreach ($this->getEntries() as $entry) {
         $dump['children'][] = $entry->dump();
     }
     return $dump;
 }