VendorPublishCommand::options()

array options() Get all of the options passed to the command. Return Value array

Collection::take()

Collection take(int $limit) Take the first or last {$limit} items. Parameters int $limit Return Value Collection

Eloquent: Collections

Eloquent: Collections Introduction Available Methods Custom Collections Introduction All multi-result sets returned by Eloquent are instances of the Illuminate\Database\Eloquent\Collection object, including results retrieved via the get method or accessed via a relationship. The Eloquent collection object extends the Laravel base collection, so it naturally inherits dozens of methods used to fluently work with the underlying array of Eloquent models. Of course, all collections also serve as i

InteractsWithSession::flushSession()

void flushSession() Flush all of the current session data. Return Value void

SqlServerGrammar::wrapTable()

string wrapTable(Expression|string $table) Wrap a table in keyword identifiers. Parameters Expression|string $table Return Value string

Database\Console\Migrations

Illuminate\Database\Console\Migrations Classes BaseCommand InstallCommand MigrateCommand MigrateMakeCommand RefreshCommand ResetCommand RollbackCommand

ModelNotFoundException

ModelNotFoundException class ModelNotFoundException extends RuntimeException (View source) Methods $this setModel(string $model, int|array $ids = array()) Set the affected Eloquent model and instance ids. string getModel() Get the affected Eloquent model. int|array getIds() Get the affected Eloquent model IDs.

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