DatabaseNotification::newInstance()

Model newInstance(array $attributes = array(), bool $exists = false) Create a new instance of the given model. Parameters array $attributes bool $exists Return Value Model

ConsoleMakeCommand

ConsoleMakeCommand class ConsoleMakeCommand extends GeneratorCommand (View source) Methods void __construct(Filesystem $files) Create a new controller creator command instance. from GeneratorCommand 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 si

SqlServerConnection::__construct()

void __construct(PDO|Closure $pdo, string $database = '', string $tablePrefix = '', array $config = array()) Create a new database connection instance. Parameters PDO|Closure $pdo string $database string $tablePrefix array $config Return Value void

Container::singleton()

void singleton(string|array $abstract, Closure|string|null $concrete = null) Register a shared binding in the container. Parameters string|array $abstract Closure|string|null $concrete Return Value void

JoinClause::on()

$this on(Closure|string $first, string|null $operator = null, string|null $second = null, string $boolean = 'and') Add an "on" clause to the join. On clauses can be chained, e.g. $join->on('contacts.userid', '=', 'users.id') ->on('contacts.infoid', '=', 'info.id') will produce the following SQL: on contacts.user_id = users.id and contacts.info_id = info.id Parameters Closure|string $first string|null $operator string|null $second string $boolean Return Value $this

AssetPublishCommand::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

ThrottleRequests::handle()

mixed handle(Request $request, Closure $next, int $maxAttempts = 60, float|int $decayMinutes = 1) Handle an incoming request. Parameters Request $request Closure $next int $maxAttempts float|int $decayMinutes Return Value mixed

Store::put()

void put(string $key, mixed $value, float|int $minutes) Store an item in the cache for a given number of minutes. Parameters string $key mixed $value float|int $minutes Return Value void

MySqlConnector

MySqlConnector class MySqlConnector extends Connector implements ConnectorInterface (View source) Traits DetectsLostConnections

SqlServerProcessor::processSelect()

array processSelect(Builder $query, array $results) Process the results of a "select" query. Parameters Builder $query array $results Return Value array