EventFake::subscribe()

void subscribe(object|string $subscriber) Register an event subscriber with the dispatcher. Parameters object|string $subscriber Return Value void

Collection::pluck()

Collection pluck(string $value, string|null $key = null) Get the values of a given key. Parameters string $value string|null $key Return Value Collection

NotificationFake::assertSentTo()

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

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

ProviderMakeCommand::question()

void question(string $string) Write a string as question output. Parameters string $string Return Value void

Pivot::setAppends()

$this setAppends(array $appends) Set the accessors to append to model arrays. Parameters array $appends Return Value $this

Dispatcher::pipeThrough()

$this pipeThrough(array $pipes) Set the pipes through which commands should be piped before dispatching. Parameters array $pipes Return Value $this

VendorPublishCommand::confirm()

bool confirm(string $question, bool $default = false) Confirm a question with the user. Parameters string $question bool $default Return Value bool

RedirectResponse::withCookies()

$this withCookies(array $cookies) Add multiple cookies to the response. Parameters array $cookies Return Value $this

BusServiceProvider::isDeferred()

bool isDeferred() Determine if the provider is deferred. Return Value bool