Collection::keyBy()

Collection keyBy(callable|string $keyBy) Key an associative array by a field or using a callback. Parameters callable|string $keyBy Return Value Collection

Authenticated::__construct()

void __construct(Authenticatable $user) Create a new event instance. Parameters Authenticatable $user Return Value void

Authorize::handle()

mixed handle(Request $request, Closure $next, string $ability, array|null $models) Handle an incoming request. Parameters Request $request Closure $next string $ability array|null $models Return Value mixed Exceptions AuthenticationException AuthorizationException

DatabaseNotificationCollection::shift()

mixed shift() Get and remove the first item from the collection. Return Value mixed

Router::mergeWithLastGroup()

array mergeWithLastGroup(array $new) Merge the given array with the last group stack. Parameters array $new Return Value array

JoinClause::leftJoinWhere()

Builder|Builder leftJoinWhere(string $table, string $one, string $operator, string $two) Add a "join where" clause to the query. Parameters string $table string $one string $operator string $two Return Value Builder|Builder

LogTransport::start()

start() {@inheritdoc}

FlushFailedCommand::argument()

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

FileLoader::getFilesystem()

Filesystem getFilesystem() Get the Filesystem instance. Return Value Filesystem

KeyGenerateCommand::error()

void error(string $string, null|int|string $verbosity = null) Write a string as error output. Parameters string $string null|int|string $verbosity Return Value void