int update(array $values) Update a record in the database. Parameters array $values Return Value int
PendingBroadcast|void event(mixed|null $event = null) Begin broadcasting an event. Parameters mixed|null $event Return Value PendingBroadcast|void
array items() Get the slice of items being paginated. Return Value array
array invalid() Returns the data which was invalid. Return Value array
void setPreviousUrl(string $url) Set the "previous" URL in the session. Parameters string $url Return Value void
void subscribe(object|string $subscriber) Register an event subscriber with the dispatcher. Parameters object|string $subscriber Return Value void
Collection pluck(string $value, string|null $key = null) Get the values of a given key. Parameters string $value string|null $key Return Value Collection
void assertSentTo(mixed $notifiable, string $notification, callable|null $callback = null) Assert if a notification was sent based on a truth-test callback. Parameters mixed $notifiable string $notification callable|null $callback Return Value void
Session class Session extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the res
void question(string $string) Write a string as question output. Parameters string $string Return Value void
Page 182 of 996