Connection::getQueryGrammar()

Grammar getQueryGrammar() Get the query grammar used by the connection. Return Value Grammar

Str::snake()

static string snake(string $value, string $delimiter = '_') Convert a string to snake case. Parameters string $value string $delimiter Return Value string

Route::hasParameter()

bool hasParameter(string $name) Determine a given parameter exists from the route. Parameters string $name Return Value bool

AbstractPaginator::addQuery()

$this addQuery(string $key, string $value) Add a query string value to the paginator. Parameters string $key string $value Return Value $this

BelongsTo::getRelationCountQuery()

Builder getRelationCountQuery(Builder $query, Builder $parent) Add the constraints for a relationship count query. Parameters Builder $query Builder $parent Return Value Builder

Presenter::setLastPage()

void setLastPage(int $page) Set the value of the last page. Parameters int $page Return Value void

ConsoleMakeCommand::argument()

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

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

QueryException

QueryException class QueryException extends PDOException (View source) Methods void __construct(string $sql, array $bindings, Exception $previous) Create a new query exception instance. string getSql() Get the SQL for the query. array getBindings() Get the bindings for the query.

TaggedCache::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void