protected function getNextButton() { $replacements = ['disabled' => 'disabled next', '<li>' => '<li class="next">', 'span' => 'a']; return str_replace(array_keys($replacements), array_values($replacements), parent::getNextButton()); }
public function testBootstrapPresenterCanGeneratorLinksForWhenOnFirstPage() { $p = new LengthAwarePaginator($this->array, count($this->array), 1, 1); $presenter = new BootstrapPresenter($p); $this->assertEquals(trim(file_get_contents($this->dir . 'first_page.html')), $presenter->render()); }