Paginator::url()

string url(int $page) Get the URL for a given page. Parameters int $page Return Value string

Paginator::url()

string url(int $page) Get the URL for a given page number. Parameters int $page Return Value string

Paginator::viewFactory()

static Factory viewFactory() Get an instance of the view factory from the resolver. Return Value Factory

Paginator::viewFactoryResolver()

static void viewFactoryResolver(Closure $resolver) Set the view factory resolver callback. Parameters Closure $resolver Return Value void

Paginator::__call()

mixed __call(string $method, array $parameters) Make dynamic calls into the collection. Parameters string $method array $parameters Return Value mixed

Paginator::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

Paginator::__construct()

void __construct(mixed $items, int $perPage, int|null $currentPage = null, array $options = array()) Create a new paginator instance. Parameters mixed $items int $perPage int|null $currentPage array $options (path, query, fragment, pageName) Return Value void

Paginator::__toString()

string __toString() Render the contents of the paginator when casting to string. Return Value string

Parser

Parser class Parser (View source) Methods static array parse(string $expression) Parse the given console command definition into an array.

Parser::parse()

static array parse(string $expression) Parse the given console command definition into an array. Parameters string $expression Return Value array Exceptions InvalidArgumentException