ListenCommand::argument()

string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array

ListenCommand::anticipate()

string anticipate(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

ListenCommand

ListenCommand class ListenCommand extends Command (View source) Methods void __construct(Listener $listener) Create a new queue listen command. int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console command silently. from Command string|array argument(string

LengthAwarePaginator::__toString()

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

LengthAwarePaginator::__construct()

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

LengthAwarePaginator::__call()

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

LengthAwarePaginator::viewFactoryResolver()

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

LengthAwarePaginator::viewFactory()

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

LengthAwarePaginator::url()

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

LengthAwarePaginator::url()

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