MySqlGrammar::compileAdd()

string compileAdd(Blueprint $blueprint, Fluent $command) Compile an add column command. Parameters Blueprint $blueprint Fluent $command Return Value string

Storage::clearResolvedInstance()

static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void

Model::morphToMany()

MorphToMany morphToMany(string $related, string $name, string $table = null, string $foreignKey = null, string $otherKey = null, bool $inverse = false) Define a polymorphic many-to-many relationship. Parameters string $related string $name string $table string $foreignKey string $otherKey bool $inverse Return Value MorphToMany

Guard::basic()

Response|null basic(string $field = 'email') Attempt to authenticate using HTTP Basic Auth. Parameters string $field Return Value Response|null

ClassLoader::normalizeClass()

static string normalizeClass(string $class) Get the normal file name for a class. Parameters string $class Return Value string

MorphToMany::newExistingPivot()

Pivot newExistingPivot(array $attributes = array()) Create a new existing pivot model instance. Parameters array $attributes Return Value Pivot

MySqlGrammar::compileDropColumn()

string compileDropColumn(Blueprint $blueprint, Fluent $command) Compile a drop column command. Parameters Blueprint $blueprint Fluent $command Return Value string

MorphToMany::findOrFail()

Model|Collection findOrFail(mixed $id, array $columns = array('*')) Find a related model by its primary key or throw an exception. Parameters mixed $id array $columns Return Value Model|Collection Exceptions ModelNotFoundException

MorphOneOrMany::getRelationQuery()

Builder getRelationQuery(Builder $query, Builder $parent, array|mixed $columns = array('*')) Get the relationship query. Parameters Builder $query Builder $parent array|mixed $columns Return Value Builder

MiddlewareMakeCommand::argument()

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