BelongsToMany::__construct()

void __construct(Builder $query, Model $parent, string $table, string $foreignKey, string $otherKey, string $relationName = null)

Create a new belongs to many relationship instance.

Parameters

Builder $query
Model $parent
string $table
string $foreignKey
string $otherKey
string $relationName

Return Value

void
doc_Laravel
2016-11-02 16:07:45
Comments
Leave a Comment

Please login to continue.