User::addGlobalScope()

static mixed addGlobalScope(Scope|Closure|string $scope, Closure $implementation = null) Register a new global scope on the model. Parameters Scope|Closure|string $scope Closure $implementation Return Value mixed Exceptions InvalidArgumentException

SqlServerGrammar::compileCreate()

string compileCreate(Blueprint $blueprint, Fluent $command) Compile a create table command. Parameters Blueprint $blueprint Fluent $command Return Value string

SeederMakeCommand::askWithCompletion()

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

ConfigClearCommand

ConfigClearCommand class ConfigClearCommand extends Command (View source) Methods void __construct(Filesystem $files) Create a new config clear command instance. 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

DatabaseServiceProvider::boot()

void boot() Bootstrap the application events. Return Value void

EventMakeCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string

HTTP Requests

HTTP Requests Accessing The Request Request Path & Method PSR-7 Requests Retrieving Input Old Input Cookies Files Retrieving Uploaded Files Storing Uploaded Files Accessing The Request To obtain an instance of the current HTTP request via dependency injection, you should type-hint the Illuminate\Http\Request class on your controller method. The incoming request instance will automatically be injected by the service container: <?php namespace App\Http\Controllers; use Illuminate

RequestGuard::__construct()

void __construct(callable $callback, Request $request) Create a new authentication guard. Parameters callable $callback Request $request Return Value void

TableCommand::argument()

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

DatabaseQueue::push()

mixed push(string $job, mixed $data = '', string $queue = null) Push a new job onto the queue. Parameters string $job mixed $data string $queue Return Value mixed