src/mako/pagination/Pagination.php
public function render(string $view): string
	{
		if(empty($this->viewFactory))
		{
			throw new RuntimeException('A [ ViewFactory ] instance is required to render pagination views.');
		}

		return $this->viewFactory->create($view, $this->pagination())->render();
	}
public function render(string $view): string
	{
		if(empty($this->viewFactory))
		{
			throw new RuntimeException('A [ ViewFactory ] instance is required to render pagination views.');
		}

		return $this->viewFactory->create($view, $this->pagination())->render();
	}
public function render ( string $ view ) : string { if ( empty ( $ this -> viewFactory ) ) { throw new RuntimeException ( 'A [ ViewFactory ] instance is required to render pagination views.' ) ; } return $ this -> viewFactory -> create ( $ view , $ this -> pagination ( ) ) -> render ( ) ; }
Renders and returns the pagination partial.

@param  string            $view Pagination view
@throws \RuntimeException
@return string
Renders and returns the pagination partial .