Route::getValidators()

static array getValidators() Get the route validators for the instance. Return Value array

Blueprint::toSql()

array toSql(Connection $connection, Grammar $grammar) Get the raw SQL statements for the blueprint. Parameters Connection $connection Grammar $grammar Return Value array

Builder::hasMacro()

static bool hasMacro(string $name) Checks if macro is registered. Parameters string $name Return Value bool

JoinClause::orOn()

JoinClause orOn(Closure|string $first, string|null $operator = null, string|null $second = null) Add an "or on" clause to the join. Parameters Closure|string $first string|null $operator string|null $second Return Value JoinClause

RestartCommand::option()

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

Blueprint::foreign()

Fluent foreign(string|array $columns, string $name = null) Specify a foreign key for the table. Parameters string|array $columns string $name Return Value Fluent

MorphToMany::initRelation()

array initRelation(array $models, string $relation) Initialize the relation on a set of models. Parameters array $models string $relation Return Value array

Translator::addLines()

void addLines(array $lines, string $locale, string $namespace = '*') Add translation lines to the given locale. Parameters array $lines string $locale string $namespace Return Value void

Builder::eagerLoadRelations()

array eagerLoadRelations(array $models) Eager load the relationships for the models. Parameters array $models Return Value array

HasOne::matchMany()

array matchMany(array $models, Collection $results, string $relation) Match the eagerly loaded results to their many parents. Parameters array $models Collection $results string $relation Return Value array