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
$this setAppends(array $appends) Set the accessors to append to model arrays. Parameters array $appends Return Value $this
$this pipeThrough(array $pipes) Set the pipes through which commands should be piped before dispatching. Parameters array $pipes Return Value $this
bool confirm(string $question, bool $default = false) Confirm a question with the user. Parameters string $question bool $default Return Value bool
$this withCookies(array $cookies) Add multiple cookies to the response. Parameters array $cookies Return Value $this
bool isDeferred() Determine if the provider is deferred. Return Value bool
Page 184 of 996