public function __construct(Paginator $paginator, $template = null) { parent::__construct($paginator, null); $this->template = $template; }