/** * @return string */ protected function decorate() { $replace = ['itemsPerPage' => $this->renderItemsPerPage(), 'tableHeaderText' => $this->getTableHeaderText(), 'numberOfItems' => $this->paginator->total(), 'pagerLinks' => $this->paginator->links($this->getPresentor()), 'table' => $this->table->render(), 'downloadTable' => $this->buildDownloadLink(), 'actionButtons' => $this->actionButtons]; $this->createTokens($replace); return $this->replace($this->getWrapper()); }