JobMakeCommand::hasOption()

bool hasOption(string $name) Determine if the given option is present. Parameters string $name Return Value bool

Model::hasOne()

HasOne hasOne(string $related, string $foreignKey = null, string $localKey = null) Define a one-to-one relationship. Parameters string $related string $foreignKey string $localKey Return Value HasOne

FileViewFinder::prependNamespace()

void prependNamespace(string $namespace, string|array $hints) Prepend a namespace hint to the finder. Parameters string $namespace string|array $hints Return Value void

MigrateCommand::arguments()

array arguments() Get all of the arguments passed to the command. Return Value array

User::getRouteKeyName()

string getRouteKeyName() Get the route key for the model. Return Value string

ConfirmableTrait::confirmToProceed()

bool confirmToProceed(string $warning = 'Application In Production!', Closure|bool|null $callback = null) Confirm before proceeding with the action. Parameters string $warning Closure|bool|null $callback Return Value bool

PostgresConnection::disconnect()

void disconnect() Disconnect from the underlying PDO connection. 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

DatabaseNotificationCollection::sum()

mixed sum(callable|string|null $callback = null) Get the sum of the given values. Parameters callable|string|null $callback Return Value mixed

SqlServerConnection::commit()

void commit() Commit the active database transaction. Return Value void