MorphMany::createMany()

array createMany(array $records) Create an array of new instances of the related model. Parameters array $records Return Value array

MorphMany::createdAt()

string createdAt() Get the name of the "created at" column. Return Value string

MorphMany::create()

Model create(array $attributes) Create a new instance of the related model. Parameters array $attributes Return Value Model

MorphMany::addEagerConstraints()

void addEagerConstraints(array $models) Set the constraints for an eager load of the relation. Parameters array $models Return Value void

MorphMany::addConstraints()

void addConstraints() Set the base constraints on the relation query. Return Value void

MorphMany

MorphMany class MorphMany extends MorphOneOrMany (View source) Methods void __construct(Builder $query, Model $parent, string $type, string $id, string $localKey) Create a new morph one or many relationship instance. from MorphOneOrMany void addConstraints() Set the base constraints on the relation query. from MorphOneOrMany void addEagerConstraints(array $models) Set the constraints for an eager load of the relation. from MorphOneOrMany array initRelation(array $models, strin

Monitor::stopping()

void stopping(mixed $callback) Register a callback to be executed when a daemon queue is stopping. Parameters mixed $callback Return Value void

Monitor::looping()

void looping(mixed $callback) Register a callback to be executed on every iteration through the queue loop. Parameters mixed $callback Return Value void

Monitor::failing()

void failing(mixed $callback) Register a callback to be executed when a job fails after the maximum amount of retries. Parameters mixed $callback Return Value void

Monitor

Monitor interface Monitor (View source) Methods void looping(mixed $callback) Register a callback to be executed on every iteration through the queue loop. void failing(mixed $callback) Register a callback to be executed when a job fails after the maximum amount of retries. void stopping(mixed $callback) Register a callback to be executed when a daemon queue is stopping.