for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Anavel\Crud\View\Presenters;
use Illuminate\Pagination\BootstrapThreePresenter;
class Paginator extends BootstrapThreePresenter
{
/**
* Convert the URL window into Bootstrap HTML.
*
* @return string
*/
public function render()
if ($this->hasPages()) {
return sprintf(
'<ul class="pagination no-margin pull-right">%s %s %s</ul>',
$this->getPreviousButton(),
$this->getLinks(),
$this->getNextButton()
);
}
return '';