static array getValidators() Get the route validators for the instance. Return Value array
array toSql(Connection $connection, Grammar $grammar) Get the raw SQL statements for the blueprint. Parameters Connection $connection Grammar $grammar Return Value array
static bool hasMacro(string $name) Checks if macro is registered. Parameters string $name Return Value bool
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
string|array option(string $key = null) Get the value of a command option. Parameters string $key Return Value string|array
Fluent foreign(string|array $columns, string $name = null) Specify a foreign key for the table. Parameters string|array $columns string $name Return Value Fluent
array initRelation(array $models, string $relation) Initialize the relation on a set of models. Parameters array $models string $relation Return Value array
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
array eagerLoadRelations(array $models) Eager load the relationships for the models. Parameters array $models Return Value array
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
Page 771 of 996