Pivot::usesTimestamps()

bool usesTimestamps() Determine if the model uses timestamps. Return Value bool

Pivot::with()

static Builder|Model with(array|string $relations) Begin querying a model with eager loading. Parameters array|string $relations Return Value Builder|Model

Pivot::withHidden()

$this withHidden(array|string $attributes) deprecated deprecated since version 5.2. Use the "makeVisible" method directly. Make the given, typically hidden, attributes visible. Parameters array|string $attributes Return Value $this

Pivot::__call()

mixed __call(string $method, array $parameters) Handle dynamic method calls into the model. Parameters string $method array $parameters Return Value mixed

Pivot::__callStatic()

static mixed __callStatic(string $method, array $parameters) Handle dynamic static method calls into the method. Parameters string $method array $parameters Return Value mixed

Pivot::__construct()

void __construct(Model $parent, array $attributes, string $table, bool $exists = false) Create a new pivot model instance. Parameters Model $parent array $attributes string $table bool $exists Return Value void

Pivot::__get()

mixed __get(string $key) Dynamically retrieve attributes on the model. Parameters string $key Return Value mixed

Pivot::__isset()

bool __isset(string $key) Determine if an attribute or relation exists on the model. Parameters string $key Return Value bool

Pivot::__set()

void __set(string $key, mixed $value) Dynamically set attributes on the model. Parameters string $key mixed $value Return Value void

Pivot::__toString()

string __toString() Convert the model to its string representation. Return Value string