static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void
static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation
$this setPath(string $path) Set the base path to assign to all URLs. Parameters string $path Return Value $this
$this setPageName(string $name) Set the query string variable used to store the page. Parameters string $name Return Value $this
static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void
$this setCollection(Collection $collection) Set the paginator's underlying collection. Parameters Collection $collection Return Value $this
static string resolveCurrentPath(string $default = '/') Resolve the current request path or return the default value. Parameters string $default Return Value string
static int resolveCurrentPage(string $pageName = 'page', int $default = 1) Resolve the current page or return the default value. Parameters string $pageName int $default Return Value int
string render(string|null $view = null) Render the paginator using the given view. Parameters string|null $view Return Value string
string render(string|null $view = null) Render the paginator using a given view. Parameters string|null $view Return Value string
Page 362 of 996