WorkCommand::choice()

string choice(string $question, array $choices, string $default = null, mixed $attempts = null, bool $multiple = null) Give the user a single choice from an array of answers. Parameters string $question array $choices string $default mixed $attempts bool $multiple Return Value string

Connection::listen()

void listen(Closure $callback) Register a database query listener with the connection. Parameters Closure $callback Return Value void

Builder::joinWhere()

Builder|Builder joinWhere(string $table, string $one, string $operator, string $two, string $type = 'inner') Add a "join where" clause to the query. Parameters string $table string $one string $operator string $two string $type Return Value Builder|Builder

Model::getUpdatedAtColumn()

string getUpdatedAtColumn() Get the name of the "updated at" column. Return Value string

DatabaseNotification::hasGlobalScope()

static bool hasGlobalScope(Scope|string $scope) Determine if a model has a global scope. Parameters Scope|string $scope Return Value bool

DatabaseNotification::hasGetMutator()

bool hasGetMutator(string $key) Determine if a get mutator exists for an attribute. Parameters string $key Return Value bool

DatabaseNotification::getUpdatedAtColumn()

string getUpdatedAtColumn() Get the name of the "updated at" column. Return Value string

PostgresGrammar::compileDropPrimary()

string compileDropPrimary(Blueprint $blueprint, Fluent $command) Compile a drop primary key command. Parameters Blueprint $blueprint Fluent $command Return Value string

ConnectionFactory::__construct()

void __construct(Container $container) Create a new connection factory instance. Parameters Container $container Return Value void

Dispatcher::hasListeners()

bool hasListeners(string $eventName) Determine if a given event has listeners. Parameters string $eventName Return Value bool