PaginationServiceProvider class PaginationServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array provides() Get the services provided by the pro
void line(string $string) Write a string as standard output. Parameters string $string Return Value void
mixed create(string $class, array $attributes = array()) Create an instance of the given model and persist it to the database. Parameters string $class array $attributes Return Value mixed
Builder|Model newEloquentBuilder(Builder $query) Create a new Eloquent query builder for the model. Parameters Builder $query Return Value Builder|Model
void __construct(Container $container, string $concrete) Create a new contextual binding builder. Parameters Container $container string $concrete Return Value void
JsonableInterface interface JsonableInterface (View source) Methods string toJson(int $options) Convert the object to its JSON representation.
void terminate(Request $request, Response $response) Perform any final actions for the request lifecycle. Parameters Request $request Response $response Return Value void
string askWithCompletion(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
void table(array $headers, Arrayable|array $rows, string $style = 'default') Format input to textual table. Parameters array $headers Arrayable|array $rows string $style Return Value void
Response view(string $view, array $data = array(), int $status = 200, array $headers = array()) Return a new view response from the application. Parameters string $view array $data int $status array $headers Return Value Response
Page 960 of 996